query('UPDATE '.$db->prefix.'config SET conf_value=\'0\' WHERE conf_name=\'o_maintenance\'') or error('Unable to turn off maintenance mode', __FILE__, __LINE__, $db->error()); // Regenerate the config cache require_once PUN_ROOT.'include/cache.php'; generate_config_cache(); $db->close(); exit('JavaScript redirect unsuccessful. Click here to continue.'); } ?> Turn off maintenance mode

Turn off maintenance mode completed

Maintenance mode has been turned off. You should now remove this script from the forum root directory.

Turn off maintenance mode

This script turns off maintenance mode. Use it you happened to log out while the forum was in maintenance mode.