cvs: php4 /pear HTTP.php
| From: | Martin Jansen | Date: | Thu, 31 Jan 2002 13:41:04 +0000 |
| Subject: | cvs: php4 /pear HTTP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2258@lists.php.net to get a copy of this message | ||
mj Thu Jan 31 08:41:04 2002 EDT
Modified files:
/php4/pear HTTP.php
Log:
* Fix bug #15313
Index: php4/pear/HTTP.php
diff -u php4/pear/HTTP.php:1.11 php4/pear/HTTP.php:1.12
--- php4/pear/HTTP.php:1.11 Thu Jan 10 20:51:24 2002
+++ php4/pear/HTTP.php Thu Jan 31 08:41:04 2002
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: HTTP.php,v 1.11 2002/01/11 01:51:24 cox Exp $
+// $Id: HTTP.php,v 1.12 2002/01/31 13:41:04 mj Exp $
//
// HTTP utility functions.
//
@@ -80,7 +80,7 @@
* it contains a language we support.
*/
if (isset($HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE'])) {
- $accepted = split(',[[:space:]]*', $HTTP_ACCEPT_LANGUAGE);
+ $accepted = split(',[[:space:]]*',
$HTTP_SERVER_VARS['HTTP_ACCEPT_LANGUAGE']);
for ($i = 0; $i < count($accepted); $i++) {
if (eregi('^([a-z]+);[[:space:]]*q=([0-9\.]+)', $accepted[$i], $arr)) {
$q = (double)$arr[2];