summaryrefslogtreecommitdiff
path: root/tests/unit/Prado.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-21 21:18:26 +0000
committerctrlaltca@gmail.com <>2011-05-21 21:18:26 +0000
commit948a32434d4e72765dd26c803e94129b5c2f7769 (patch)
treeb035f1ad598c56dd97774d2c09448a8a9de06eec /tests/unit/Prado.php
parent5eeeeeb96db991f0500881190e321aba8efc8891 (diff)
fixed unix tests, bumped version number
Diffstat (limited to 'tests/unit/Prado.php')
-rw-r--r--tests/unit/Prado.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Prado.php b/tests/unit/Prado.php
index 9e73c934..18e3707f 100644
--- a/tests/unit/Prado.php
+++ b/tests/unit/Prado.php
@@ -19,7 +19,7 @@ class Prado extends PradoBase {
return self::$_application;
}
- public static function using($namespace)
+ public static function using($namespace,$checkClassExistence=true)
{
if(isset(self::$_usings[$namespace]) || class_exists($namespace,false))
return;
@@ -133,7 +133,7 @@ class Prado extends PradoBase {
$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);