cvs: phpweb / search.php

From: Date: Sat, 04 Jan 2003 16:46:15 +0000
Subject: cvs: phpweb / search.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-14694@lists.php.net to get a copy of this message
goba Sat Jan 4 11:46:15 2003 EDT Modified files: /phpweb search.php Log: Try to avoid problems coming up because of the bogus htdig index db of php.net. See bug #20870 for more info... The index should be updated, but it does not seem to happen, or bogus entrys keep staying there... Index: phpweb/search.php diff -u phpweb/search.php:1.54 phpweb/search.php:1.55 --- phpweb/search.php:1.54 Fri Jan 3 15:28:33 2003 +++ phpweb/search.php Sat Jan 4 11:46:14 2003 @@ -174,7 +174,9 @@ if (isset($page)) { $pgr = "&page=" . escapeshellcmd($page); } else { $pgr = ""; } // Always exclude the printer friendly pages of both types - $exclude = urlencode("/print/|/printwn/"); + // The last exclude is a fix for the bogus index database of php.net, + // and may be removed if the index problems are resolved [see bug #20870] + $exclude = urlencode("/print/|/printwn/|.php/"); // Create the htdig query, and execute the engine $query = "words=$words&config=php&exclude=$exclude&restrict=$restrict$pgr";

« previous php.mirrors (#14694) next »