new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
<?php return
|
||||
[
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Directory Scanning
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Determines whether class scans should be performed after the class
|
||||
| definition. If this setting is set to true, the newly created classes
|
||||
| search the specified directories for readiness.
|
||||
|
|
||||
| It is recommended to be true.
|
||||
|
|
||||
*/
|
||||
|
||||
'directoryScanning' => true,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Directory Permission
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| With auto loader, the permissions of the folders where
|
||||
| the classes are created are set.
|
||||
|
|
||||
*/
|
||||
|
||||
'directoryPermission' => 0755,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Class Map
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Which directories will be scanned for auto loader.
|
||||
|
|
||||
*/
|
||||
|
||||
'classMap' =>
|
||||
[
|
||||
# INTERNAL_DIR,
|
||||
LIBRARIES_DIR,
|
||||
EXTERNAL_LIBRARIES_DIR,
|
||||
CONTROLLERS_DIR,
|
||||
EXTERNAL_CONTROLLERS_DIR,
|
||||
MODELS_DIR,
|
||||
EXTERNAL_MODELS_DIR,
|
||||
COMMANDS_DIR,
|
||||
EXTERNAL_COMMANDS_DIR,
|
||||
INTERNAL_DIR . 'package-tests/'
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Aliases
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Used to give alias to classes.
|
||||
|
|
||||
| Alias Name => Origin Name
|
||||
|
|
||||
*/
|
||||
|
||||
'aliases' =>
|
||||
[
|
||||
# ZN\ZN
|
||||
'ZN' => 'ZN\ZN',
|
||||
|
||||
# ZN\StaticAccess
|
||||
'StaticAccess' => 'ZN\StaticAccess',
|
||||
|
||||
# ZN\Request
|
||||
'Http' => 'ZN\Request\Http',
|
||||
'Server' => 'ZN\Request\Server',
|
||||
'Request' => 'ZN\Request\Request',
|
||||
'Post' => 'ZN\Request\Post',
|
||||
'Get' => 'ZN\Request\Get',
|
||||
'Env' => 'ZN\Request\Env',
|
||||
'Method' => 'ZN\Request\Method',
|
||||
|
||||
# ZN\Inclusion\Projection
|
||||
'Project\Controllers\Masterpage' => 'ZN\Inclusion\Project\Masterpage',
|
||||
'Project\Controllers\View' => 'ZN\Inclusion\Project\View',
|
||||
'Project\Controllers\Theme' => 'ZN\Inclusion\Project\Theme',
|
||||
'Masterpage' => 'ZN\Inclusion\Project\Masterpage',
|
||||
'View' => 'ZN\Inclusion\Project\View',
|
||||
'Theme' => 'ZN\Inclusion\Project\Theme',
|
||||
'Restoration' => 'ZN\Restoration',
|
||||
|
||||
# ZN\Controller
|
||||
'Project\Controllers\Controller' => 'ZN\Controller',
|
||||
|
||||
# ZN\Config
|
||||
'Config' => 'ZN\Config',
|
||||
|
||||
# ZN\Autoloader
|
||||
'Autoloader' => 'ZN\Autoloader',
|
||||
|
||||
# ZN\Database
|
||||
'Model' => 'ZN\Model',
|
||||
'GrandModel' => 'ZN\Database\GrandModel',
|
||||
|
||||
# ZN\Command
|
||||
'Project\Commands\Command' => 'ZN\Command',
|
||||
'External\Commands\Command' => 'ZN\ExternalCommand',
|
||||
|
||||
# ZN\DataTypes
|
||||
'Objects' => 'ZN\DataTypes\Objects'
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Composer
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Set whether the Composer auto loader can be used or not.
|
||||
|
|
||||
| Option1: true[vendor/autoload.php]
|
||||
| Option2: false
|
||||
| Option3: vendor autoload path
|
||||
|
|
||||
*/
|
||||
|
||||
'composer' => is_file($file = 'Internal/package-composer/autoload.php') ? $file : true
|
||||
];
|
||||
Reference in New Issue
Block a user