summaryrefslogtreecommitdiff
path: root/requirements/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'requirements/index.php')
-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);