[eluser]Aquillyne[/eluser]
[quote author="Colin Williams" date="1216637729"]Hook looks alright. Nice and simple.
Quote:The problem remains: how to alter whether the site is locked via the button in the admin area…
Again, save a var in a database table or in a flat text file that you check in your hook. Are you familiar with using databases or manipulating files?[/quote]
Yes. I think I'll go for a text file, otherwise every page on my site will initiate a database connection which may slow things down. Thanks for the help!