cvs: phpweb /error index.php
| From: | Derick Rethans | Date: | Mon, 08 Jul 2002 19:24:35 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11207@lists.php.net to get a copy of this message | ||
derick Mon Jul 8 15:24:35 2002 EDT
Modified files:
/phpweb/error index.php
Log:
- Add short cut to NEWS
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.63 phpweb/error/index.php:1.64
--- phpweb/error/index.php:1.63 Wed Jul 3 05:07:13 2002
+++ phpweb/error/index.php Mon Jul 8 15:24:35 2002
@@ -175,6 +175,13 @@
}
// ============================================================================
+// Link to NEWS
+if (in_array($function, array("NEWS", "news"))) {
+ header("Location: http://cvs.php.net/co.php/php4/NEWS");
+ exit;
+}
+
+// ============================================================================
// Try to find the page using this language as a manual page (lang is the language
// from the URI, or the default language if it was not there in the URI
$try = find_manual_page($lang, $function);