moved config to databse (except databse credentials of course)

added overlooked changes to template or typos
This commit is contained in:
Sarjuuk 2014-03-18 23:25:29 +01:00
parent d40d06b8fb
commit 3718ca6b86
26 changed files with 178 additions and 113 deletions

View file

@ -20,9 +20,9 @@ if (version_compare(PHP_VERSION, '5.4.0') <= 0)
$smarty->brb();
}
if ($AoWoWconf['maintenance'] && !User::isInGroup(U_GROUP_EMPLOYEE))
if (CFG_MAINTENANCE && !User::isInGroup(U_GROUP_EMPLOYEE))
$smarty->brb();
else if ($AoWoWconf['maintenance'] && User::isInGroup(U_GROUP_EMPLOYEE))
else if (CFG_MAINTENANCE && User::isInGroup(U_GROUP_EMPLOYEE))
$smarty->internalNotice(U_GROUP_EMPLOYEE, 'Maintenance mode enabled!');
switch ($pageCall)