summaryrefslogtreecommitdiff
path: root/tests/unit/Prado.php
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-05-21 21:26:33 +0000
committerctrlaltca@gmail.com <>2011-05-21 21:26:33 +0000
commitb6ec303f50cfa233374d12b06a539025da70e303 (patch)
tree171b7488e0261dd805435f177953f5157948979d /tests/unit/Prado.php
parentc266d79c8370a536c9ccd0e9f0506ed65a22b9fe (diff)
up-ported to trunk/ unit tests fixes from r2921
Diffstat (limited to 'tests/unit/Prado.php')
-rw-r--r--tests/unit/Prado.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/Prado.php b/tests/unit/Prado.php
index 9e73c934..6368a086 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);
@@ -147,4 +147,4 @@ class Prado extends PradoBase {
}
-?> \ No newline at end of file
+?>