How do I close my nuke for maintainance?
I have tried to find out were I can do that but cant find it anywere?
I want to close the whole site not only the forums.
_________________ Chebiza
Evaders99 Site Admin
Joined: Aug 17, 2003
Posts: 12367
Posted:
Wed Jan 09, 2008 1:25 pm
If you use Nuke Sentinel, there is an option to close the site.
Add this to mainfile.php at the bottom right before the closing php tag "?>". Change "false" to "true" to turn on maintenance mode, but make sure you are logged in as an admin other wise you will be locked out until you change it back to "false"
Code:
$down = false;
if($down == true && !is_admin($admin)) die("<br><br><center><img src=images/logo.gif><br><br><b>We are currently closed for maintenance, sorry for the inconvenience.<br><br>We should be back shortly.</center></b>");
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum