Welcome Guest, Not a member yet? Register   Sign In
Making site offline
#3

[eluser]IamPrototype[/eluser]
Well, it could easily be done using your database. As an example you create a table called "settings" with some different fields, one of the fields could be "site_status". Then you could code a model and check if "site_status" is "1" (online) or "2" (offline). Auto-load the model and check on every existing page. I don't know if anybody has an easier way to do it. Smile


Messages In This Thread
Making site offline - by El Forum - 01-23-2009, 12:50 PM
Making site offline - by El Forum - 01-23-2009, 01:45 PM
Making site offline - by El Forum - 01-23-2009, 03:52 PM
Making site offline - by El Forum - 01-23-2009, 04:13 PM



Theme © iAndrew 2016 - Forum software by © MyBB