summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
authorChristophe.Boulain <>2009-11-04 16:38:15 +0000
committerChristophe.Boulain <>2009-11-04 16:38:15 +0000
commit879cced5e01d43378065c938483b55a35ff10834 (patch)
treef4c756e7fdb3a6b0b359dbbe5814da0361996bb2 /requirements
parentd69704df59e343a9e25e779548ae851b668e3e7f (diff)
Minor corrections to avoid runtime notice with php 5.3, and function rename in TDbConnection
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);