Fixed reading mode.php file for application mode
This commit is contained in:
parent
3eb6bc6340
commit
27e3534b52
@ -27,7 +27,7 @@ require INC_ROOT . '/vendor/autoload.php';
|
|||||||
|
|
||||||
// Time to create our app
|
// Time to create our app
|
||||||
$app = new Slim([
|
$app = new Slim([
|
||||||
'mode' => file_get_contents(INC_ROOT . '/mode.php'),
|
'mode' => trim(file_get_contents(INC_ROOT . '/mode.php')),
|
||||||
'view' => new Twig(),
|
'view' => new Twig(),
|
||||||
'templates.path' => INC_ROOT . '/app/views'
|
'templates.path' => INC_ROOT . '/app/views'
|
||||||
]);
|
]);
|
||||||
|
Loading…
Reference in New Issue
Block a user