cvs: phpweb / search.php
| From: | Andrew Lindeman | Date: | Sat, 24 May 2003 21:11:40 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-18042@lists.php.net to get a copy of this message | ||
alindeman Sat May 24 17:11:40 2003 EDT
Modified files:
/phpweb search.php
Log:
use www.php.net instead of the mirror for the site option in google, in
case a mirror hasn't been indexed by google.
Index: phpweb/search.php
diff -u phpweb/search.php:1.87 phpweb/search.php:1.88
--- phpweb/search.php:1.87 Thu May 22 21:58:26 2003
+++ phpweb/search.php Sat May 24 17:11:40 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: search.php,v 1.87 2003/05/23 01:58:26 wez Exp $ */
+/* $Id: search.php,v 1.88 2003/05/24 21:11:40 alindeman Exp $ */
include_once "prepend.inc";
@@ -153,7 +153,7 @@
$site = substr($MYSITE, 7, strlen($MYSITE) - 8);
header("Location: http://www.google.com/search?q=" .
urlencode($pattern) .
- "+site:" . urlencode($site) . "&l=$lang");
+ "+site:www.php.net&l=$lang");
exit;
// If some local search is needed and we have no support for