cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Sat, 30 Mar 2002 11:59:11 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-9370@lists.php.net to get a copy of this message | ||
goba Sat Mar 30 06:59:11 2002 EDT
Modified files:
/phpweb/error index.php
Log:
Adding support for revcheck shortcut URL
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.44 phpweb/error/index.php:1.45
--- phpweb/error/index.php:1.44 Sat Mar 23 08:48:24 2002
+++ phpweb/error/index.php Sat Mar 30 06:59:11 2002
@@ -102,9 +102,14 @@
}
$lang = strtolower($lang);
-
} else {
$function = strtolower($uri);
+}
+
+// Quick access to revcheck output for manual writers
+if ($function == "rev") {
+ header("Location: http://$SERVER_NAME/manual/$lang/revcheck.html");
+ exit;
}
$try = find_manual_page($lang, $function);