diff options
author | Georg Ehrke <developer@georgehrke.com> | 2016-10-07 20:24:47 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2016-10-07 20:24:47 +0200 |
commit | a48aed2ee927677a408b79139346df6af32d04eb (patch) | |
tree | 4ac6d6b45650318ab076dd19bbdaf6a2ae78d2a1 /index.php | |
parent | 9e7824f3edcb498447915a396e93678ddb6f5768 (diff) | |
download | nextcloud-server-a48aed2ee927677a408b79139346df6af32d04eb.tar.gz nextcloud-server-a48aed2ee927677a408b79139346df6af32d04eb.zip |
use older php array syntax in index.php
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php index 903b1fd6a76..ce4cdf06e7e 100644 --- a/index.php +++ b/index.php @@ -40,7 +40,7 @@ try { OC::handleRequest(); } catch(\OC\ServiceUnavailableException $ex) { - \OC::$server->getLogger()->logException($ex, ['app' => 'index']); + \OC::$server->getLogger()->logException($ex, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); @@ -49,13 +49,13 @@ try { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printErrorPage($ex->getMessage(), $ex->getHint()); } catch (Exception $ex) { - \OC::$server->getLogger()->logException($ex, ['app' => 'index']); + \OC::$server->getLogger()->logException($ex, array('app' => 'index')); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } catch (Error $ex) { - \OC::$server->getLogger()->logException($ex, ['app' => 'index']); + \OC::$server->getLogger()->logException($ex, array('app' => 'index')); OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } |