diff options
author | xue <> | 2005-11-19 04:35:07 +0000 |
---|---|---|
committer | xue <> | 2005-11-19 04:35:07 +0000 |
commit | 8fd040ef49321fce9d3d0b9c44937984a2112b52 (patch) | |
tree | 573dcfe6a3ec6d5a3b7fde9298dcc1b4f45116b1 /framework/Web/UI/TThemeManager.php | |
parent | bc1a7e1e3a67537189d30013ea6d5fa4bf98e8e4 (diff) |
Diffstat (limited to 'framework/Web/UI/TThemeManager.php')
-rw-r--r-- | framework/Web/UI/TThemeManager.php | 2 |
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);
|