summaryrefslogtreecommitdiff
path: root/framework/PradoBase.php
diff options
context:
space:
mode:
authorxue <>2007-08-06 18:58:55 +0000
committerxue <>2007-08-06 18:58:55 +0000
commitedfdfdd1cbf6d597551d4128e7e11d6d92bcdf95 (patch)
tree9a39721593e768419fb58c8b21e88ff4748bb0ae /framework/PradoBase.php
parent1031b56f982f973f85cb3e1528f7bcbba662778f (diff)
fixed #685
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r--framework/PradoBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/PradoBase.php b/framework/PradoBase.php
index f2632f9b..2823c1d1 100644
--- a/framework/PradoBase.php
+++ b/framework/PradoBase.php
@@ -321,7 +321,7 @@ class PradoBase
$segs=explode('.',$namespace);
$alias=array_shift($segs);
if(($file=array_pop($segs))!==null && ($root=self::getPathOfAlias($alias))!==null)
- return rtrim($root.'/'.implode('/',$segs),'/').(($file==='*')?'':'/'.$file.$ext);
+ return rtrim($root.DIRECTORY_SEPARATOR.implode(DIRECTORY_SEPARATOR ,$segs),'/\\').(($file==='*')?'':DIRECTORY_SEPARATOR.$file.$ext);
else
return null;
}