For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > July 2006 > cvs: phpweb / results.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpweb / results.php
Rasmus Lerdorf

2006-07-10, 3:57 am

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/phpwe...4&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);

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com