cvs: phpweb /error index.php
| From: | Gabor Hojtsy | Date: | Wed, 23 Apr 2003 19:28:25 +0000 |
| Subject: | cvs: phpweb /error index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16961@lists.php.net to get a copy of this message | ||
goba Wed Apr 23 15:28:25 2003 EDT
Modified files:
/phpweb/error index.php
Log:
Search for the keyword in the URL without the leading slash
Index: phpweb/error/index.php
diff -u phpweb/error/index.php:1.111 phpweb/error/index.php:1.112
--- phpweb/error/index.php:1.111 Fri Apr 11 13:14:47 2003
+++ phpweb/error/index.php Wed Apr 23 15:28:25 2003
@@ -1,6 +1,6 @@
<?php
-// $Id: index.php,v 1.111 2003/04/11 17:14:47 cmv Exp $
+// $Id: index.php,v 1.112 2003/04/23 19:28:25 goba Exp $
/*
@@ -209,7 +209,7 @@
// search with the URI the user typed in
mirror_redirect(
'/search.php?show=manual&lang=' . urlencode($LANG) .
- '&pattern=' . urlencode($_SERVER['REQUEST_URI'])
+ '&pattern=' . urlencode(substr($_SERVER['REQUEST_URI'], 1))
);
// A 'good looking' 404 error message page