cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Fri, 11 Apr 2003 15:55:53 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16698@lists.php.net to get a copy of this message | ||
goba Fri Apr 11 11:55:53 2003 EDT
Modified files:
/phpweb/error index.php
Log:
More get URLs for the documentation
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.109 phpweb/error/index.php:1.110
--- phpweb/error/index.php:1.109 Fri Apr 11 11:04:26 2003
+++ phpweb/error/index.php Fri Apr 11 11:55:53 2003
@@ -1,6 +1,6 @@
<?php
-// $Id: index.php,v 1.109 2003/04/11 15:04:26 goba Exp $
+// $Id: index.php,v 1.110 2003/04/11 15:55:53 goba Exp $
/*
@@ -82,9 +82,11 @@
// Some nice URLs for getting something for download
if (preg_match("!^get/([^/]+)$", $URI, $what)) {
switch ($what[1]) {
- case "php" : $URI = "downloads"; break;
- case "dochowto" : // intentional
- case "phpdochowto" : $URI = "getdochowto"; break;
+ case "php" : $URI = "downloads"; break;
+ case "docs" : // intentional
+ case "documentation" : $URI = "download-docs"; break;
+ case "dochowto" : // intentional
+ case "phpdochowto" : $URI = "getdochowto"; break;
}
}
@@ -117,6 +119,7 @@
# PHP page shortcuts
"download" => "downloads",
"getphp" => "downloads",
+ "getdocs" => "download-docs",
"documentation" => "docs",
"mailinglists" => "mailing-lists",
"mailinglist" => "mailing-lists",