Basic functionality
This commit is contained in:
@@ -14,6 +14,14 @@ class Bootstrap
|
||||
$configurator = new Configurator;
|
||||
$appDir = dirname(__DIR__);
|
||||
|
||||
// Provide some parameters
|
||||
$configurator->addParameters([
|
||||
'rootDir' => realpath(__DIR__ . '/..'),
|
||||
'appDir' => __DIR__,
|
||||
'wwwDir' => realpath(__DIR__ . '/../www'),
|
||||
]);
|
||||
|
||||
|
||||
$configurator->setDebugMode($_SERVER['HTTP_HOST'] === 'localhost');
|
||||
$configurator->enableTracy($appDir . '/log');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user