diff options
author | xue <> | 2006-05-12 12:29:14 +0000 |
---|---|---|
committer | xue <> | 2006-05-12 12:29:14 +0000 |
commit | 2348789034d16ddbd6bcdf6daaae5cdfe3e7551c (patch) | |
tree | 1f9c638cfb822f127c5055543107138bbbc0040f /framework/Web/UI/TThemeManager.php | |
parent | 9424f71824c3bf7ad3d8404e0fbc44717b10896f (diff) |
Fixed an issue about setting BasePath.
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 83032684..7ae36556 100644 --- a/framework/Web/UI/TThemeManager.php +++ b/framework/Web/UI/TThemeManager.php @@ -104,7 +104,7 @@ class TThemeManager extends TModule throw new TInvalidOperationException('thememanager_basepath_unchangeable');
else
{
- $this->_basePath=Prado::getPathOfAlias($value);
+ $this->_basePath=Prado::getPathOfNamespace($value);
if($this->_basePath===null || !is_dir($this->_basePath))
throw new TInvalidDataValueException('thememanager_basepath_invalid',$value);
}
|