cvs: phpweb / search.php
| From: | Gabor Hojtsy | Date: | Sat, 14 Dec 2002 15:57:17 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14160@lists.php.net to get a copy of this message | ||
goba Sat Dec 14 10:57:17 2002 EDT
Modified files:
/phpweb search.php
Log:
Doh, separate multiple excludes with a bar (as the docs says ;)
Index: phpweb/search.php
diff -u phpweb/search.php:1.39 phpweb/search.php:1.40
--- phpweb/search.php:1.39 Sat Dec 14 09:40:08 2002
+++ phpweb/search.php Sat Dec 14 10:57:17 2002
@@ -131,7 +131,7 @@
if (isset($page)) { $pgr = "&page=" . escapeshellcmd($page); } else { $pgr =
""; }
// Always exclude the printer friendly pages of both types
- $exclude = urlencode("/print/ /printwn/");
+ $exclude = urlencode("/print/|/printwn/");
// Create the htdig query, and execute the engine
$query =
"words=$words&config=php&exclude=$exclude&restrict=$restrict$pgr";