summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-22 14:43:11 +0000
committerctrlaltca@gmail.com <>2011-05-22 14:43:11 +0000
commit8aa27c48cd1b620e3a7dee1e2de2cdc67f4e9874 (patch)
tree005e4f8f6b698acfc6f16a36fc873c0ef9b4842f /requirements
parent948a32434d4e72765dd26c803e94129b5c2f7769 (diff)
branch 3.1: misc doc updates
Diffstat (limited to 'requirements')
-rw-r--r--requirements/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements/index.php b/requirements/index.php
index 44879240..252f7a45 100644
--- a/requirements/index.php
+++ b/requirements/index.php
@@ -222,7 +222,7 @@ function getUserLanguages()
$languages=array();
foreach(explode(',',$_SERVER['HTTP_ACCEPT_LANGUAGE']) as $language)
{
- $array=split(';q=',trim($language));
+ $array=explode(';q=',trim($language));
$languages[trim($array[0])]=isset($array[1])?(float)$array[1]:1.0;
}
arsort($languages);