cvs: phpweb / bug-pwd-finder.php bugstats.php cal.php

From: Date: Wed, 19 Sep 2001 18:04:02 +0000
Subject: cvs: phpweb / bug-pwd-finder.php bugstats.php cal.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-6450@lists.php.net to get a copy of this message
jimw Wed Sep 19 14:04:02 2001 EDT Modified files: /phpweb bug-pwd-finder.php bugstats.php cal.php Log: more fixes for backup primary Index: phpweb/bug-pwd-finder.php diff -u phpweb/bug-pwd-finder.php:1.11 phpweb/bug-pwd-finder.php:1.12 --- phpweb/bug-pwd-finder.php:1.11 Fri Jul 6 21:17:32 2001 +++ phpweb/bug-pwd-finder.php Wed Sep 19 14:04:02 2001 @@ -8,6 +8,14 @@ $dbuser="nobody"; $dbpwd=""; } else { + if (is_backup_primary()) { + commonHeader("Service Unavailable");?> +<p>Sorry, the bug database is temporarily unavailable.</p> +<?php + commonFooter(); + exit; + } + Header("Location: http://www.php.net/bug-pwd-finder.php"); exit; } Index: phpweb/bugstats.php diff -u phpweb/bugstats.php:1.31 phpweb/bugstats.php:1.32 --- phpweb/bugstats.php:1.31 Sun Jul 8 21:47:48 2001 +++ phpweb/bugstats.php Wed Sep 19 14:04:02 2001 @@ -2,6 +2,14 @@ require_once 'prepend.inc'; if(!is_primary_site()) { + if (is_backup_primary()) { + commonHeader("Service Unavailable");?> +<p>Sorry, the bug database is temporarily unavailable.</p> +<?php + commonFooter(); + exit; + } + header("Location: http://www.php.net/bugstats.php"); exit; } Index: phpweb/cal.php diff -u phpweb/cal.php:1.21 phpweb/cal.php:1.22 --- phpweb/cal.php:1.21 Wed Sep 19 12:25:49 2001 +++ phpweb/cal.php Wed Sep 19 14:04:02 2001 @@ -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'; }

« previous php.mirrors (#6450) next »