cvs: phpweb / bugs.php bugstats.php /error index.php
| From: | Gabor Hojtsy | Date: | Sat, 11 Jan 2003 12:20:49 +0000 |
| Subject: | cvs: phpweb / bugs.php bugstats.php /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14936@lists.php.net to get a copy of this message | ||
goba Sat Jan 11 07:20:49 2003 EDT
Removed files:
/phpweb bugs.php bugstats.php
Modified files:
/phpweb/error index.php
Log:
Handle bugs and bugstats redirections through the central URL handler
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.99 phpweb/error/index.php:1.100
--- phpweb/error/index.php:1.99 Wed Jan 8 15:51:38 2003
+++ phpweb/error/index.php Sat Jan 11 07:20:49 2003
@@ -23,6 +23,12 @@
}
// ============================================================================
+// BC: handle bugs.php moved completely to bugs.php.net
+if (preg_match("!^bugs.php?(.+)$!", $URI, $array)) {
+ mirror_redirect("http://bugs.php.net?$array[1]", TRUE);
+}
+
+// ============================================================================
// BC: handle moving english manual down into its own directory (also supports
// default language manual accessibilty on mirror sites through /manual/filename)
if (preg_match("!^manual/([^/]+)$!", $URI, $array)) {
@@ -105,7 +111,9 @@
"tut" => "tutorial",
"tut.php" => "tutorial", // for backward compatibility with PHP
page!
- "faq.php" => "faq", // for backward compatibility with PHP page!
+ "faq.php" => "faq", // for backward compatibility with PHP
page!
+ "bugs.php" => "bugs", // for backward compatibility with PHP
page!
+ "bugstats.php" => "bugstats", // for backward compatibility with PHP
page!
"icap" => "mcal", // mcal is the successor of icap
@@ -118,7 +126,9 @@
$external_redirects = array(
"php4news" => "http://cvs.php.net/co.php/php4/NEWS?p=1",
"projects" => "http://freshmeat.net/browse/183/",
- "pear" => "http://pear.php.net/"
+ "pear" => "http://pear.php.net/",
+ "bugs" => "http://bugs.php.net/",
+ "bugstats" => "http://bugs.php.net/bugstats.php",
);
// ============================================================================