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 70b6a9ff..f1a7d316 100644 --- a/framework/TApplication.php +++ b/framework/TApplication.php @@ -637,7 +637,7 @@ class TApplicationConfiguration extends TComponent if(($id=$aliasNode->getAttribute('id'))!==null && ($path=$aliasNode->getAttribute('path'))!==null)
{
$path=str_replace('\\','/',$path);
- if(preg_match('/^\\/|.:\\//',$path)) // if absolute path
+ if(preg_match('/^\\/|.:\\/|.:\\\\/',$path)) // if absolute path
$p=realpath($path);
else
$p=realpath($configPath.'/'.$path);
|