cvs: phpweb / search.php
| From: | Wez Furlong | Date: | Fri, 23 May 2003 01:54:09 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-17923@lists.php.net to get a copy of this message | ||
wez Thu May 22 21:54:09 2003 EDT
Modified files:
/phpweb search.php
Log:
switch to google; alltheweb isn't quite as smart just yet
Index: phpweb/search.php
diff -u phpweb/search.php:1.85 phpweb/search.php:1.86
--- phpweb/search.php:1.85 Thu May 22 21:30:20 2003
+++ phpweb/search.php Thu May 22 21:54:09 2003
@@ -1,5 +1,5 @@
<?php
-/* $Id: search.php,v 1.85 2003/05/23 01:30:20 wez Exp $ */
+/* $Id: search.php,v 1.86 2003/05/23 01:54:09 wez Exp $ */
include_once "prepend.inc";
@@ -150,7 +150,7 @@
exit;
}
- header("Location: http://www.alltheweb.com/search?q=" .
urlencode($pattern) .
+ header("Location: http://www.google.com/search?q=" .
urlencode($pattern) .
"+site:" . urlencode(substr($MYSITE, 7)) . "&l=$lang");
exit;