Basic functionality

This commit is contained in:
2022-03-12 16:25:30 +01:00
parent f3beaa64cf
commit acc21b7b24
137 changed files with 12647 additions and 5089 deletions

View File

@@ -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');