[FX.php List] "site down for maintenance" include?
Dale Bengston
dbengston at preservationstudio.com
Wed Mar 7 12:28:25 MST 2007
Joel,
You could perform a simple FMView from your login page and trap for
any errors. Errors result in the "Site Closed" notice. No errors gets
the more typical user experience.
Dale
On Mar 7, 2007, at 11:35 AM, Joel Shapiro wrote:
> Hi all
>
> Has anybody implemented a procedure to automatically alert users
> when a site is down due to the FM files being closed on FMSA?
>
> I'm thinking an include on every page that could check if the DB is
> available, and if not, present a friendly message to site-visitors
> and then a php exit;
>
> Would this work? Is there a specific FX error to easily check for?
>
> This would be for when the DB needs to be closed for updating, etc.
>
> Thanks,
> -Joel
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list