summaryrefslogtreecommitdiff
path: root/framework/core.php
diff options
context:
space:
mode:
authorxue <>2005-11-20 23:57:44 +0000
committerxue <>2005-11-20 23:57:44 +0000
commit80c487bfdefc49f26431705647d3a0551e50d48b (patch)
tree96c0c339700fc5e2f989ee0e7cf3682ab1bf2600 /framework/core.php
parent796029932b87e46d317262ab9562a5c091027dfc (diff)
Diffstat (limited to 'framework/core.php')
-rw-r--r--framework/core.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/core.php b/framework/core.php
index 2a4ddcbb..f61761a9 100644
--- a/framework/core.php
+++ b/framework/core.php
@@ -480,7 +480,7 @@ class PradoBase
throw new TInvalidDataValueException('prado_using_invalid',$namespace);
else
{
- if($namespace[strlen($namespace)-1]==='*') // a file
+ if($namespace[strlen($namespace)-1]==='*') // a directory
{
if(is_dir($path))
{
@@ -490,7 +490,7 @@ class PradoBase
else
throw new TInvalidDataValueException('prado_using_invalid',$namespace);
}
- else // a directory
+ else // a file
{
if(is_file($path))
{