Fixed reading mode.php file for application mode
This commit is contained in:
		@@ -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'
 | 
			
		||||
]);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user