summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TThemeManager.php
diff options
context:
space:
mode:
authorxue <>2006-02-14 02:48:11 +0000
committerxue <>2006-02-14 02:48:11 +0000
commit9e17c72bc1c6f917f032b61a16907c81ac49f322 (patch)
treeedaf191a37873ae0c612a5f5e93a421925ac0830 /framework/Web/UI/TThemeManager.php
parentf5e5fddf2b624ba00933b7d22724be1e80741cb2 (diff)
Fixed a bug about base url calculation.
Diffstat (limited to 'framework/Web/UI/TThemeManager.php')
-rw-r--r--framework/Web/UI/TThemeManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php
index 51796046..37e477d9 100644
--- a/framework/Web/UI/TThemeManager.php
+++ b/framework/Web/UI/TThemeManager.php
@@ -123,7 +123,7 @@ class TThemeManager extends TModule
$basePath=$this->getBasePath();
if(strpos($basePath,$appPath)===false)
throw new TConfigurationException('thememanager_baseurl_required');
- $appUrl=rtrim(dirname($this->getRequest()->getApplicationPath()),'/');
+ $appUrl=rtrim(dirname($this->getRequest()->getApplicationPath()),'/\\');
$this->_baseUrl=$appUrl.strtr(substr($basePath,strlen($appPath)),'\\','/');
}
return $this->_baseUrl;