new pisilinux web sites

This commit is contained in:
Erkan IŞIK
2026-07-01 16:44:17 +03:00
commit b58488b586
21740 changed files with 2066209 additions and 0 deletions
+80
View File
@@ -0,0 +1,80 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| User
|--------------------------------------------------------------------------
|
| Includes configurations for the User library.
|
| encode: When the user is registered in, the algorithm to encrypt the
| password is set.
|
| spectator: Allows navigation of other users' accounts.
|
| matching: It specifies which tables and columns the User class will use.
|
| joining: This setting is used if the users table consists of joined
| tables.
|
| emailSenderInfo: This is to specify the sender name and email
| information of the e-mail to be sent during the activation process or
| password forgotten operations.
|
*/
'encode' => 'super',
'spectator' => '',
'matching' =>
[
'table' => '',
'columns' =>
[
'username' => '', # Required
'password' => '', # Required
'email' => '', # Relative
'active' => '', # Relative
'banned' => '', # Relative
'activation' => '', # Relative
'verification' => '', # Relative
'otherLogin' => [] # Relative
]
],
'joining' =>
[
'column' => '',
'tables' => []
],
'emailSenderInfo' =>
[
'name' => '',
'mail' => ''
],
/*
|--------------------------------------------------------------------------
| Permission
|--------------------------------------------------------------------------
|
| Includes configurations for the Permission library.
|
| method : It is used to set which id value will use which method of sending.
| page : It is used to set which id value will use which page.
| process: It is used to set which id value will use which object.
|
| Example Usage
|
| [
| '1' => 'any',
| '2' => ['noperm' => ['delete', 'update']],
| '3' => ['perm' => ['delete', 'update']],
| '4' => ['noperm' => ['delete', 'update', 'add']],
| '5' => 'all'
| ]
|
*/
'method' => [],
'page' => [],
'process' => []
];
+26
View File
@@ -0,0 +1,26 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Cryto
|--------------------------------------------------------------------------
|
| Sets the predefined driver for the Crypto library.
|
| Options: openssl, mcrypt, hash, phash, mhash
|
*/
'driver' => 'openssl',
/*
|--------------------------------------------------------------------------
| Encode
|--------------------------------------------------------------------------
|
| Sets which encryption algorithm will use the Encode class methods by default.
|
*/
'type' => 'md5'
];
@@ -0,0 +1,28 @@
<?php return
[
'migration' =>
[
'table' => 'migrations'
],
'database' =>
[
'driver' => 'mysqli',
'host' => 'localhost',
'database' => '',
'user' => '',
'password' => '',
'dsn' => '',
'server' => '',
'port' => '',
'cacheDriver' => 'file',
'queryLog' => false,
'pconnect' => false,
'encode' => false,
'prefix' => '',
'charset' => 'utf8',
'collation' => 'utf8_general_ci',
'differentConnection' => []
]
];
+21
View File
@@ -0,0 +1,21 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| File
|--------------------------------------------------------------------------
|
| It contains several settings for the File library.
|
| realPath: The methods of the File class specify whether to access
| the file relative to the absolute path or not.
| parentDirectoryAccess: Set whether to allow parent directory(../) access.
|
*/
'file' =>
[
'realPath' => true,
'parentDirectoryAccess' => false
]
];
+154
View File
@@ -0,0 +1,154 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Head Page
|--------------------------------------------------------------------------
|
| It is specified in which view the html codes in the [head] tags will be
| placed.
|
*/
'headPage' => '', # string or array
/*
|--------------------------------------------------------------------------
| Head Page
|--------------------------------------------------------------------------
|
| It is specified in which view the html codes in the [body] tags will be
| placed.
|
*/
'bodyPage' => '',
/*
|--------------------------------------------------------------------------
| Document Type
|--------------------------------------------------------------------------
|
| The type of document to use.
|
| Types: html5 , html4Frameset , html4Transitional , html4Strict
| xhtml11, xhtml1Frameset, xhtml1Transitional, xhtml1Strict
|
*/
'docType' => 'html5',
/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
|
| Edit the [title] tag.
|
*/
'title' => '',
/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
|
| The language and charset of your content.
|
*/
'content' =>
[
'language' => 'tr',
'charset' => ['utf-8']
],
/*
|--------------------------------------------------------------------------
| Resources
|--------------------------------------------------------------------------
|
| The settings below are just like using the
| Import::theme/plugin/font/style/script() method.
|
*/
'theme' =>
[
'name' => [],
'recursive' => false
],
'plugin' =>
[
'name' => '',
'recursive' => false
],
/*
|--------------------------------------------------------------------------
| Browser Icon
|--------------------------------------------------------------------------
|
| The browser icon to be used.
|
*/
'browserIcon' => '',
/*
|--------------------------------------------------------------------------
| Background Image
|--------------------------------------------------------------------------
|
| The background image to be used.
|
*/
'backgroundImage' => '',
/*
|--------------------------------------------------------------------------
| Attributes
|--------------------------------------------------------------------------
|
| Adds a property value pair to the [html], [head] and [body] tags.
|
| ['id' => 'body', 'name' => 'Body'] <body id="body" name="Body">
|
*/
'attributes' =>
[
'html' => [],
'head' => [],
'body' => []
],
/*
|--------------------------------------------------------------------------
| Meta
|--------------------------------------------------------------------------
|
| Used to edit meta tags.
|
*/
'meta' =>
[
'name:description' => '',
'name:author' => '',
'name:designer' => '',
'name:distribution' => '',
'name:keywords' => '',
'name:abstract' => '',
'name:copyright' => '',
'name:expires' => '',
'name:pragma' => '',
'name:revisit-after' => '',
'http:cache-control' => '',
'http:refresh' => '',
'name:robots' => []
]
];
+169
View File
@@ -0,0 +1,169 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Project Language
|--------------------------------------------------------------------------
|
| It is used to change the system's error output or the language used in
| language libraries.
|
*/
'language' => 'tr',
/*
|--------------------------------------------------------------------------
| Timezone
|--------------------------------------------------------------------------
|
| Sets the region for the time zone.
|
*/
'timezone' => 'Europe/Istanbul',
/*
|--------------------------------------------------------------------------
| Set Locale
|--------------------------------------------------------------------------
|
| Local settings for time zone.
|
| charset : Sets the date and time character set.
| language: Sets the date and time language.
|
*/
'locale' =>
[
'charset' => 'en_US.UTF-8',
'language' => 'english',
],
/*
|--------------------------------------------------------------------------
| Mode
|--------------------------------------------------------------------------
|
| The project mode. It is recommended to arrange the publication when the
| project is posted.
|
| Options: publication, restoration, development
|
*/
'mode' => 'development',
/*
|--------------------------------------------------------------------------
| Key
|--------------------------------------------------------------------------
|
| Project specific encryption key. Affects the Encode::super() method.
|
*/
'key' => ZN\In::secretProjectKey('!E;gk86H(-J>F6mq3b_3=h*'),
/*
|--------------------------------------------------------------------------
| Benchmark
|--------------------------------------------------------------------------
|
| A table with a set of data is displayed in the lower right corner of the
| screen.
|
*/
'benchmark' => false,
/*
|--------------------------------------------------------------------------
| Log
|--------------------------------------------------------------------------
|
| Includes settings related to log recording.
|
| createFile: Starts the logging process.
| fileTime: How long it will be stored is specified.
|
*/
'log' =>
[
'createFile' => false,
'fileTime' => '30 day'
],
/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
|
| HTTP headers to be sent.
|
*/
'headers' =>
[
'content-type: text/html; charset=utf-8'
],
/*
|--------------------------------------------------------------------------
| Error Reporting
|--------------------------------------------------------------------------
|
| Includes error reporting settings.
|
*/
'errorReporting' => E_ALL,
/*
|--------------------------------------------------------------------------
| Escape Errors
|--------------------------------------------------------------------------
|
| Error numbers for which the error indication is to be prevented.
|
*/
'escapeErrors' => [],
/*
|--------------------------------------------------------------------------
| Exit Errors
|--------------------------------------------------------------------------
|
| It is specified which error numbers will stop the code stream.
|
*/
'exitErrors' => [0, 2],
/*
|--------------------------------------------------------------------------
| Restoration
|--------------------------------------------------------------------------
|
| For maintenance, the mode setting must be set to restoration.
|
| machinesIP: The IP addresses to be unaffected by restoration are
| specified.
|
| pages: It is specified on which pages the restoration will be done.
|
| routePage: If a request is made to the restored pages, it will be
| indicated where it will be directed.
|
*/
'restoration' =>
[
'machinesIP' => ['127.0.0.1'],
'pages' => [],
'routePage' => ''
]
];
+75
View File
@@ -0,0 +1,75 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Open Controller
|--------------------------------------------------------------------------
|
| Default boot controller.
|
*/
'openController' => 'Home',
/*
|--------------------------------------------------------------------------
| Open Function
|--------------------------------------------------------------------------
|
| It is the default method of operation of the controller.
|
*/
'openFunction' => 'main',
/*
|--------------------------------------------------------------------------
| Show 404
|--------------------------------------------------------------------------
|
| Forwards the invalid request to the specified URI.
|
*/
'show404' => 'show404',
/*
|--------------------------------------------------------------------------
| Request Methods
|--------------------------------------------------------------------------
|
| Which URI specifies which request methods are valid or invalid.
|
*/
'requestMethods' =>
[
'page' => '',
'disallowMethods' => [],
'allowMethods' => []
],
/*
|--------------------------------------------------------------------------
| Pattern Type
|--------------------------------------------------------------------------
|
| Regex type for route.
|
*/
'patternType' => 'classic',
/*
|--------------------------------------------------------------------------
| Change URI
|--------------------------------------------------------------------------
|
| Used to create a route. ['new regex' => 'old uri']
|
*/
'changeUri' => [
]
];
@@ -0,0 +1,62 @@
<?php return
[
'mail' =>
[
'driver' => 'smtp',
'smtp' =>
[
'host' => '',
'user' => '',
'password' => '',
'port' => 587,
'keepAlive' => false,
'timeout' => 10,
'encode' => 'tls',
'dsn' => false,
'auth' => true
],
'imap' =>
[
'host' => '',
'user' => '',
'password' => '',
'port' => 993,
'flags' => [],
'mailbox' => 'INBOX'
],
'general' =>
[
'senderMail' => '',
'senderName' => '',
]
],
'cache' =>
[
'driver' => 'file',
'file' =>
[
'encode' => false,
],
'redis' =>
[
'host' => '',
'password' => '',
'port' => 6379,
'timeout' => 60,
],
'memcache' =>
[
'host' => '',
'port' => 11211,
'weight' => 1,
],
'memcached' =>
[
'host' => '',
'port' => 11211,
'weight' => 1,
],
]
];
+88
View File
@@ -0,0 +1,88 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Constructor Controllers
|--------------------------------------------------------------------------
|
| Controllers that will run before the system and before the controllers.
|
| Example:
| [
| 'starting/starting:main', 'starting:otherMethod',
| 'otherController/otherController:main', 'otherController:otherMethod'
| ]
|
*/
'constructors' => ['Initialize'],
/*
|--------------------------------------------------------------------------
| Destructor Controllers
|--------------------------------------------------------------------------
|
| It is the controllers that will go into the circuit after the
| controllers work.
|
*/
'destructors' => [],
/*
|--------------------------------------------------------------------------
| Extract View Data
|--------------------------------------------------------------------------
|
| It sends data to the controllers working under it with the View library.
| Sent data is accessed with [$this] object.
|
*/
'extractViewData' => false,
/*
|--------------------------------------------------------------------------
| Ajax Code Continue
|--------------------------------------------------------------------------
|
| After Ajax operations, it is specified whether the code will continue to
| flow. If you get unexpected output on ajax requests, set this value to
| false.
|
*/
'ajaxCodeContinue' => false,
/*
|--------------------------------------------------------------------------
| View Name Type
|--------------------------------------------------------------------------
|
| If the views are created in a certain standard, they are automatically
| loaded by the controllers. There are 2 options for this;
|
| directory: Views/controllerName/methodName.php
|
| file: Views/controllerName-methodName.php
|
*/
'viewNameType' => 'directory',
/*
|--------------------------------------------------------------------------
| Autoload
|--------------------------------------------------------------------------
|
| Allows the files in the Starting/Autoload/ folder to be installed
| automatically.
|
*/
'autoload' =>
[
'status' => true,
'recursive' => false
]
];
+108
View File
@@ -0,0 +1,108 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Cookie
|--------------------------------------------------------------------------
|
| Contains settings related to cookies.
| Configures the parameters of the setcookie function.
|
| encode: The cookie keys are set to which algorithm to encrypt.
|
*/
'cookie' =>
[
'encode' => '',
'regenerate' => true,
'time' => 604800,
'path' => '/',
'domain' => '',
'secure' => false,
'httpOnly' => false
],
/*
|--------------------------------------------------------------------------
| Session
|--------------------------------------------------------------------------
|
| Contains settings related to session.
|
| encode: The cookie keys are set to which algorithm to encrypt.
|
*/
'session' =>
[
'encode' => 'super',
'regenerate' => true,
],
/*
|--------------------------------------------------------------------------
| Shopping
|--------------------------------------------------------------------------
|
| Contains settings related to shopping.
|
| driver: It is specified in which structure the cart information will be
| stored.
|
*/
'shopping' =>
[
'driver' => 'session'
],
/*
|--------------------------------------------------------------------------
| Compression
|--------------------------------------------------------------------------
|
| Contains settings related to compression.
|
| driver: It is specified which drive to compress.
|
*/
'compression' =>
[
'driver' => 'gz'
],
/*
|--------------------------------------------------------------------------
| Cache
|--------------------------------------------------------------------------
|
| Includes configurations for the Cache library.
|
| drivers : apc, memcache, wincache, file, redis
| driverSettings: Configurations by driver
|
*/
'cache' =>
[
'driver' => 'file',
'driverSettings' =>
[
'memcache' =>
[
'host' => '127.0.0.1',
'port' => '11211',
'weight' => '1',
],
'redis' =>
[
'password' => NULL,
'host' => '127.0.0.1',
'port' => 6379,
'timeout' => 0
]
]
]
];
+202
View File
@@ -0,0 +1,202 @@
<?php return
[
/*
|--------------------------------------------------------------------------
| Wizard
|--------------------------------------------------------------------------
|
| The template wizard specifies what to compile.
|
*/
'wizard' =>
[
'keywords' => true,
'printable' => true,
'functions' => true,
'comments' => true,
'tags' => true,
'jsdata' => true,
'callableJS' => true,
'html' => false
],
/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
|
| Includes default settings for the paging view.
|
*/
'pagination' =>
[
'prevName' => '&laquo;',
'nextName' => '&raquo;',
'firstName' => '&laquo;&laquo;',
'lastName' => '&raquo;&raquo;',
'totalRows' => 10,
'start' => NULL,
'limit' => 10,
'countLinks' => 10,
'type' => 'classic', # classic, ajax
'output' => 'bootstrap', # classic, bootstrap
'class' =>
[
'current' => 'active',
'links' => '',
'prev' => '',
'next' => '',
'last' => '',
'first' => ''
],
'style' =>
[
'current' => '',
'links' => '',
'prev' => '',
'next' => '',
'last' => '',
'first' => ''
]
],
/*
|--------------------------------------------------------------------------
| Captcha
|--------------------------------------------------------------------------
|
| Includes default settings for the captcha.
|
*/
'captcha' =>
[
'text' =>
[
'type' => 'alnum',
'length' => 6,
'color' => '85|85|85',
'size' => 10,
'x' => 100,
'y' => 18,
'angle' => 0,
'ttf' => []
],
'background' =>
[
'color' => '240|240|240',
'image' => []
],
'border' =>
[
'status' => true,
'color' => '220|220|220'
],
'size' =>
[
'width' => 254,
'height' => 52
],
'grid' =>
[
'status' => false,
'color' => '220|220|220',
'spaceX' => 12,
'spaceY' => 4
]
],
/*
|--------------------------------------------------------------------------
| Datagrid
|--------------------------------------------------------------------------
|
| Includes default settings for the datagrids.
|
*/
'dbgrid' =>
[
'styleElement' =>
[
'#DBGRID_TABLE tr:nth-child(even)' => ['background' => '#E6F9FF'],
'#DBGRID_TABLE tr:nth-child(odd)' => ['background' => '#FFF']
],
'attributes' =>
[
'table' => ['width' => '100%', 'cellspacing' => 0, 'cellpadding' => 10, 'style' => 'margin-top:15px; margin-bottom:15px; border:solid 1px #ddd; font-family:Arial; color:#888; font-size:14px;'],
'editTables' => ['style' => 'font-family:Arial; color:#888; font-size:14px;'],
'columns' => ['height' => 75, 'style' => 'text-decoration:none; color:#0085B2'],
'search' => ['style' => 'height:34px; color:#0085B2; border:solid 1px #0085B2; text-indent:10px'],
'add' => ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'deleteSelected'=> ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'deleteAll' => ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'save' => ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'update' => ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'delete' => ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'edit' => ['style' => 'height:34px; color:#0085B2; background:none; border:solid 1px #0085B2; cursor:pointer'],
'listTables' => [],
'inputs' =>
[
'text' => ['style' => 'height:34px; color:#0085B2; border:solid 1px #0085B2; text-indent:10px'],
'textarea' => ['style' => 'height:120px; width:290px; color:#0085B2; border:solid 1px #0085B2; text-indent:10px'],
'radio' => [],
'checkbox' => [],
'select' => []
]
],
'pagination' =>
[
'style' =>
[
'links' => 'color:#0085B2;width:30px; height:30px;text-align:center;padding-top:4px;display:inline-block;background:white;border:solid 1px #ddd;border-radius: 4px;-webkit-border-radius: 4px;-moz-border-radius: 4px;text-decoration:none;',
'current' => 'font-weight:bold;'
]
]
],
/*
|--------------------------------------------------------------------------
| ML Grid
|--------------------------------------------------------------------------
|
| It edits the table created by the ML::table() method.
|
| styleElement: Used to give built-in style to the table.
| attributes : Used to add attributes to objects in the table.
| pagination : It arranges the pagination bar on the table.
|
*/
'mlgrid' =>
[
'styleElement' =>
[
#'#ML_TABLE tr:nth-child(even)' => ['background' => '#E6F9FF'],
#'#ML_TABLE tr:nth-child(odd)' => ['background' => '#FFF']
],
'attributes' =>
[
'table' => ['class' => 'table table-bordered table-hover table-striped'],
'add' => ['style' => 'height:30px; color:#0085B2; background:none; border:solid 1px #ccc; cursor:pointer; border-radius:4px'],
'update' => ['style' => 'height:30px; color:#0085B2; background:none; border:solid 1px #ccc; cursor:pointer; border-radius:4px'],
'delete' => ['style' => 'height:30px; color:#0085B2; background:none; border:solid 1px #ccc; cursor:pointer; border-radius:4px'],
'clear' => ['style' => 'height:30px; color:#0085B2; background:none; border:solid 1px #ccc; cursor:pointer; border-radius:4px'],
'textbox' => ['style' => 'height:30px; color:#0085B2; border:solid 1px #ccc; text-indent:10px; border-radius:4px']
],
'pagination' =>
[
'style' =>
[
'links' => 'color:#0085B2; width:30px; height:30px; text-align:center; padding-top:4px;
display:inline-block; background:white; border:solid 1px #ddd; border-radius: 4px;
-webkit-border-radius: 4px; -moz-border-radius: 4px;text-decoration:none;',
'current' => 'font-weight:bold;'
],
'class' => []
]
]
];