cvs: phpweb / cal.php
| From: | Gabor Hojtsy | Date: | Sat, 22 Dec 2001 12:27:44 +0000 |
| Subject: | cvs: phpweb / cal.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-7932@lists.php.net to get a copy of this message | ||
goba Sat Dec 22 07:27:44 2001 EDT
Modified files:
/phpweb cal.php
Log:
A reciprocal location redirect was corrected. A mirror
realized, that he is not the primary site, then redirected
to php2.chek.com, but that is again not the primary site,
so redirected to php2.chek.com and so on... Now test for
php2.chek.com
Index: phpweb/cal.php
diff -u phpweb/cal.php:1.23 phpweb/cal.php:1.24
--- phpweb/cal.php:1.23 Mon Dec 3 02:17:47 2001
+++ phpweb/cal.php Sat Dec 22 07:27:44 2001
@@ -1,7 +1,8 @@
<?php
include_once 'prepend.inc';
- if (!is_primary_site()) {
+ // The calendar is hosted at php2.chek.com only!
+ if (getenv("SERVER_NAME") != "php2.chek.com") {
/*
if (is_backup_primary()) {
commonHeader("Service Unavailable");?>