cvs: phpweb / results.php
| From: | Rasmus Lerdorf | Date: | Mon, 10 Jul 2006 03:14:12 +0000 |
| Subject: | cvs: phpweb / results.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-31958@lists.php.net to get a copy of this message | ||
rasmus Mon Jul 10 03:14:12 2006 UTC
Modified files:
/phpweb results.php
Log:
pt-BR should just be pt in the query
http://cvs.php.net/viewvc.cgi/phpweb/results.php?r1=1.23&r2=1.24&diff_format=u
Index: phpweb/results.php
diff -u phpweb/results.php:1.23 phpweb/results.php:1.24
--- phpweb/results.php:1.23 Wed Apr 19 18:23:35 2006
+++ phpweb/results.php Mon Jul 10 03:14:12 2006
@@ -1,5 +1,5 @@
<?php
-// $Id: results.php,v 1.23 2006/04/19 18:23:35 rasmus Exp $
+// $Id: results.php,v 1.24 2006/07/10 03:14:12 rasmus Exp $
$_SERVER['BASE_PAGE'] = 'results.php';
include $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
#include $_SERVER['DOCUMENT_ROOT'] . '/include/loadavg.inc';
@@ -13,6 +13,8 @@
$l = isset($_GET['l']) ? $_GET['l'] : 'en';
}
+if($l=='pt-BR') $l='pt';
+
$q = urlencode($q);
$l = urlencode($l);