moved config to databse (except databse credentials of course)
added overlooked changes to template or typos
This commit is contained in:
parent
d40d06b8fb
commit
3718ca6b86
26 changed files with 178 additions and 113 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue