function writeConfig($config, $isLoggedIn)\r
{\r
// These fields are required in configuration.\r
- $MANDATORY_FIELDS = [\r
+ $MANDATORY_FIELDS = array(\r
'login', 'hash', 'salt', 'timezone', 'title', 'titleLink',\r
'redirector', 'disablesessionprotection', 'privateLinkByDefault'\r
- ];\r
+ );\r
\r
if (!isset($config['config']['CONFIG_FILE'])) {\r
throw new MissingFieldConfigException('CONFIG_FILE');\r
{\r
$this->message = 'You are not authorized to alter config.';\r
}\r
-}
\ No newline at end of file
+}\r