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