cvs: phpweb / cal.php
| From: | jim winstead | Date: | Wed, 09 Jan 2002 00:48:39 +0000 |
| Subject: | cvs: phpweb / cal.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-8147@lists.php.net to get a copy of this message | ||
jimw Tue Jan 8 19:48:39 2002 EDT
Modified files:
/phpweb cal.php
Log:
use is_primary_site() function
Index: phpweb/cal.php
diff -u phpweb/cal.php:1.24 phpweb/cal.php:1.25
--- phpweb/cal.php:1.24 Sat Dec 22 07:27:44 2001
+++ phpweb/cal.php Tue Jan 8 19:48:38 2002
@@ -2,7 +2,7 @@
include_once 'prepend.inc';
// The calendar is hosted at php2.chek.com only!
- if (getenv("SERVER_NAME") != "php2.chek.com") {
+ if (!is_primary_site()) {
/*
if (is_backup_primary()) {
commonHeader("Service Unavailable");?>