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]

This commit is contained in:
Djamil Legato
2014-09-03 17:43:15 -07:00
parent a0f5e35ad5
commit 32dfc001af

View File

@@ -20,10 +20,10 @@ if (!ini_get('date.timezone')) {
}
$grav = Grav::instance(
[
array(
'loader' => $loader,
'debugger' => new Debugger(Debugger::PRODUCTION)
]
)
);
try {