cvs: phpweb /error index.php
| From: | Rasmus Lerdorf | Date: | Sat, 13 Jan 2001 01:22:24 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-3395@lists.php.net to get a copy of this message | ||
rasmus Fri Jan 12 17:22:24 2001 EDT
Modified files:
/phpweb/error index.php
Log:
Let's not reveal the doc_root path here
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.15 phpweb/error/index.php:1.16
--- phpweb/error/index.php:1.15 Fri Jan 12 16:24:02 2001
+++ phpweb/error/index.php Fri Jan 12 17:22:24 2001
@@ -60,7 +60,7 @@
?>
<?Header("HTTP/1.0 404 Not Found")?>
-<?commonHeader($REDIRECT_REDIRECT_ERROR_NOTES);
+<?commonHeader(str_replace($DOCUMENT_ROOT,'',$REDIRECT_REDIRECT_ERROR_NOTES));
if(!isset($pattern)) {
$pattern = $uri;