From 9e17c72bc1c6f917f032b61a16907c81ac49f322 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 14 Feb 2006 02:48:11 +0000 Subject: Fixed a bug about base url calculation. --- framework/Web/UI/TThemeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/TThemeManager.php') 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; -- cgit v1.2.3