cvs: phpweb / bugs.php

From: Date: Thu, 08 Mar 2001 03:26:32 +0000
Subject: cvs: phpweb / bugs.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-4202@lists.php.net to get a copy of this message
jimw Wed Mar 7 19:26:32 2001 EDT Modified files: /phpweb bugs.php Log: this will be exciting. make http://www.php.net/bugs.php the 'canonical' place to avoid all the bugs.php.net wackiness. bugs.php.net links should still work, they'll just redirect. Index: phpweb/bugs.php diff -u phpweb/bugs.php:1.81 phpweb/bugs.php:1.82 --- phpweb/bugs.php:1.81 Wed Mar 7 16:17:34 2001 +++ phpweb/bugs.php Wed Mar 7 19:26:32 2001 @@ -13,7 +13,7 @@ $destination = "php-dev@lists.php.net"; -if (strstr($MYSITE,"bugs.php.net")) { +if (strstr($MYSITE,"www.php.net")) { $dbhost="localhost"; $dbuser="nobody"; $dbpwd=""; @@ -21,12 +21,8 @@ $dbhost="localhost"; $dbuser="nobody"; $dbpwd=""; -} else if (strstr($MYSITE,"news.php.net")) { - $dbhost="localhost"; - $dbuser="nobody"; - $dbpwd=""; } else { - Header("Location: http://bugs.php.net/" . ($QUERY_STRING ? "?$QUERY_STRING" : "")); + Header("Location: http://www.php.net/bugs.php" . ($QUERY_STRING ? "?$QUERY_STRING" : "")); exit; }

« previous php.mirrors (#4202) next »