From 32dfc001afda2f0258c869d566ea89bc3e5e15ef Mon Sep 17 00:00:00 2001 From: Djamil Legato Date: Wed, 3 Sep 2014 17:43:15 -0700 Subject: [PATCH] Switch to old fashion array declaration in the index.php to allow PHP to parse without failing and then check for the required PHP version (5.4+) [Fixes #36] --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 1137ea3ca..8af6d323a 100644 --- a/index.php +++ b/index.php @@ -20,10 +20,10 @@ if (!ini_get('date.timezone')) { } $grav = Grav::instance( - [ + array( 'loader' => $loader, 'debugger' => new Debugger(Debugger::PRODUCTION) - ] + ) ); try {