actually, vB have this stupidly generated page with a « the board is closed » message we can edit… but if the database is dead, or the site need to be closed efficiently, this is completely useless…

what good thing would be to have a switch… we have a default error page generated in error.html, and it is over-written with the new default style when the templates « headinclude, header, footer » are edited… so we’re sure it fit the look of the site anyway.

this generated error.html is linked to a .htaccess file (error 405 etc) and if the admin set the site to closed, the htaccess file is edited to redirect everybody on error.html … nothing more.

this way, even if the db is dead, the error page will display properly.