From 27e3534b52f11ccc7d6db92e19fa41ad52dfaf10 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Fri, 18 Nov 2016 12:51:42 -0500 Subject: [PATCH] Fixed reading mode.php file for application mode --- app/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/start.php b/app/start.php index 7b85b42..1f10574 100755 --- a/app/start.php +++ b/app/start.php @@ -27,7 +27,7 @@ require INC_ROOT . '/vendor/autoload.php'; // Time to create our app $app = new Slim([ - 'mode' => file_get_contents(INC_ROOT . '/mode.php'), + 'mode' => trim(file_get_contents(INC_ROOT . '/mode.php')), 'view' => new Twig(), 'templates.path' => INC_ROOT . '/app/views' ]);