cvs: phpweb / search.php
| From: | Rasmus Lerdorf | Date: | Wed, 15 Mar 2006 05:50:34 +0000 |
| Subject: | cvs: phpweb / search.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-30921@lists.php.net to get a copy of this message | ||
rasmus Wed Mar 15 05:50:34 2006 UTC
Modified files:
/phpweb search.php
Log:
Fix for bug #36735
http://cvs.php.net/viewcvs.cgi/phpweb/search.php?r1=1.109&r2=1.110&diff_format=u
Index: phpweb/search.php
diff -u phpweb/search.php:1.109 phpweb/search.php:1.110
--- phpweb/search.php:1.109 Tue Feb 28 16:30:04 2006
+++ phpweb/search.php Wed Mar 15 05:50:34 2006
@@ -1,5 +1,5 @@
<?php
-// $Id: search.php,v 1.109 2006/02/28 16:30:04 nlopess Exp $
+// $Id: search.php,v 1.110 2006/03/15 05:50:34 rasmus Exp $
$_SERVER['BASE_PAGE'] = 'search.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
@@ -43,7 +43,10 @@
// Mailing list search base URL
$ml_url = "http://marc.theaimsgroup.com/?r=1&w=2&q=b&";
$ucp = urlencode($_FORM['pattern']);
-
+
+ // Ugly one-off exception here because es.php.net blocks outbound connections
+ if($MYSITE=='http://es.php.net/') $MYSITE =
'http://es2.php.net/';
+
// Do redirections for external search engines
switch ($_FORM['show']) {