diff options
Diffstat (limited to 'framework/PradoBase.php')
-rw-r--r-- | framework/PradoBase.php | 2 |
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;
}
|