1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

more fixes for backup primary

This commit is contained in:
jim winstead
2001-09-19 18:04:02 +00:00
parent d88798297e
commit f13093c8e8
3 changed files with 23 additions and 2 deletions

View File

@@ -1,12 +1,17 @@
<?php
include_once 'prepend.inc';
/*
if (!is_primary_site()) {
if (is_backup_primary()) {
commonHeader("Service Unavailable");?>
<p>Sorry, the event calendar is temporarily unavailable.</p>
<?php
commonFooter();
exit;
}
header("Location: http://www.php.net/cal.php");
exit;
}
*/
if (!isset($format)) {
$format = 'html';
}