summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2005-11-19 04:35:07 +0000
committerxue <>2005-11-19 04:35:07 +0000
commit8fd040ef49321fce9d3d0b9c44937984a2112b52 (patch)
tree573dcfe6a3ec6d5a3b7fde9298dcc1b4f45116b1 /framework/Web
parentbc1a7e1e3a67537189d30013ea6d5fa4bf98e8e4 (diff)
Diffstat (limited to 'framework/Web')
-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 b51aecac..5dcc640e 100644
--- a/framework/Web/UI/TThemeManager.php
+++ b/framework/Web/UI/TThemeManager.php
@@ -150,7 +150,7 @@ class TTheme extends TTemplate
if(strpos($themePath,$appPath)===false)
throw new TConfigurationException('theme_baseurl_required');
$appUrl=dirname(Prado::getApplication()->getRequest()->getApplicationPath());
- $this->_themeUrl=$appUrl.'/'.strtr(substr($theme,strlen($basePath)),'\\','/');
+ $this->_themeUrl=$appUrl.'/'.strtr(substr($themePath,strlen($appPath)),'\\','/');
}
else
$this->_themeUrl=$baseUrl.'/'.basename($themePath);