summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2005-11-15 20:51:34 +0000
committerxue <>2005-11-15 20:51:34 +0000
commit08b5405ef570d97726953e5679f27980ce0b0d98 (patch)
tree8ac95e1fbdefeab48d3bb2c9258907dd2944ad9f /framework
parent2ed19f8d883a72768d07304ec1b6205762801287 (diff)
tested Master/Content.
Diffstat (limited to 'framework')
-rw-r--r--framework/TApplication.php2
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);