summaryrefslogtreecommitdiff
path: root/framework/core.php
diff options
context:
space:
mode:
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))
{