Cli
This commit is contained in:
@ -9,6 +9,9 @@ $folders = [
|
||||
'setups'
|
||||
];
|
||||
$builder = new Builder();
|
||||
if (isset($__environment)) {
|
||||
$builder->addDefinitions(['environment' => $__environment]);
|
||||
}
|
||||
foreach ($folders as $f) {
|
||||
$folder = implode(DIRECTORY_SEPARATOR, [
|
||||
__DIR__,
|
||||
@ -50,3 +53,5 @@ $app->addErrorMiddleware(true, true, true);
|
||||
include_once 'database.php';
|
||||
|
||||
include_once 'router.php';
|
||||
|
||||
return $app;
|
||||
|
Reference in New Issue
Block a user