Skip to content

Commit 2a148de

Browse files
committed
Bootstrap: $appDir -> $rootDir [Closes #39]
1 parent 3848f3b commit 2a148de

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/Bootstrap.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ class Bootstrap
1212
public static function boot(): Configurator
1313
{
1414
$configurator = new Configurator;
15-
$appDir = dirname(__DIR__);
15+
$rootDir = dirname(__DIR__);
1616

1717
//$configurator->setDebugMode('[email protected]'); // enable for your remote IP
18-
$configurator->enableTracy($appDir . '/log');
18+
$configurator->enableTracy($rootDir . '/log');
1919

20-
$configurator->setTempDirectory($appDir . '/temp');
20+
$configurator->setTempDirectory($rootDir . '/temp');
2121

2222
$configurator->createRobotLoader()
2323
->addDirectory(__DIR__)
2424
->register();
2525

26-
$configurator->addConfig($appDir . '/config/common.neon');
27-
$configurator->addConfig($appDir . '/config/services.neon');
26+
$configurator->addConfig($rootDir . '/config/common.neon');
27+
$configurator->addConfig($rootDir . '/config/services.neon');
2828

2929
return $configurator;
3030
}

0 commit comments

Comments
 (0)