if (isset($_POST['ok']))
{
// De- or activate maintenance mode
- switch ($CONFIG['maintenance'])
+ switch ($_CONFIG['maintenance'])
{
case 'Y':
$target_mode = 'N';
}
else
{
- switch ($CONFIG['maintenance'])
+ switch ($_CONFIG['maintenance'])
{
case 'Y': // Maintenance mode is active
define('ADMIN_MAINTENANCE_MODE', ADMIN_MAINTENANCE_MODE_IS_ACTIVE);