Base setup
This commit is contained in:
16
setup/common/config.php
Normal file
16
setup/common/config.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
use ProVM\Common\Helper\Tree;
|
||||
|
||||
return [
|
||||
'debug' => true,
|
||||
'base_url' => $_ENV['BASE_URL'],
|
||||
'folders' => function() {
|
||||
$directory = new Tree(DIRECTORY_SEPARATOR);
|
||||
return $directory->build([
|
||||
[dirname(__DIR__, 2), null, 'base'],
|
||||
['public', 'base', 'public'],
|
||||
['resources', 'base', 'resources'],
|
||||
['routes', 'resources', 'routes']
|
||||
]);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user