summaryrefslogtreecommitdiff
path: root/framework/TApplication.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/TApplication.php
parent1031b56f982f973f85cb3e1528f7bcbba662778f (diff)
fixed #685
Diffstat (limited to 'framework/TApplication.php')
-rw-r--r--framework/TApplication.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/TApplication.php b/framework/TApplication.php
index 4454d763..5ae86a39 100644
--- a/framework/TApplication.php
+++ b/framework/TApplication.php
@@ -1226,7 +1226,7 @@ class TApplicationConfiguration extends TComponent
if(preg_match('/^\\/|.:\\/|.:\\\\/',$path)) // if absolute path
$p=realpath($path);
else
- $p=realpath($configPath.'/'.$path);
+ $p=realpath($configPath.DIRECTORY_SEPARATOR.$path);
if($p===false || !is_dir($p))
throw new TConfigurationException('appconfig_aliaspath_invalid',$id,$path);
if(isset($this->_aliases[$id]))