diff options
author | xue <> | 2005-11-15 20:51:34 +0000 |
---|---|---|
committer | xue <> | 2005-11-15 20:51:34 +0000 |
commit | 08b5405ef570d97726953e5679f27980ce0b0d98 (patch) | |
tree | 8ac95e1fbdefeab48d3bb2c9258907dd2944ad9f /framework/TApplication.php | |
parent | 2ed19f8d883a72768d07304ec1b6205762801287 (diff) |
tested Master/Content.
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);
|