Topic: Where is Maintenance Mode Setting Stored?

I use the following script to backup my DB's and it works great!
http://www.ameir.net/blog/index.php?/ar … -v2.1.html

Every once in a while I drop all my tables to make sure I can restore the backup files.  Today I did this and before I started I put my forum in maintenance mode.

After putting the forum in Maintenance Mode I dropped all the tables.
Then I restored a backup from YESTERDAY.

What's odd is that after the restore the forum was still in Maintenance Mode.   This must mean the setting for Maintenance Mode is not in the DB (since I dropped all the tables and used a backup from when the forum was NOT in Maintenance Mode).

So, where is the Maintenance Mode setting kept?

Rob Ludlow 
www.Nifty-Stuff.com - Repository of all Stuff Nifty!
www.reviewum.com - Professor Ratings + Teacher Reviews

Re: Where is Maintenance Mode Setting Stored?

It is kept in the database (config table), but my assumption is that you're also saving the cache file, so the values aren't reloaded from the database.

Re: Where is Maintenance Mode Setting Stored?

ahhh... those pesky cache files!

That was probaly it.  Thanks Smartys!

Rob Ludlow 
www.Nifty-Stuff.com - Repository of all Stuff Nifty!
www.reviewum.com - Professor Ratings + Teacher Reviews