diff options
author | xue <> | 2005-11-20 14:15:37 +0000 |
---|---|---|
committer | xue <> | 2005-11-20 14:15:37 +0000 |
commit | 4767317d3dcc4316609154287b643eb85afbd9e2 (patch) | |
tree | e55e155801713fd6bc0a010c0ab3eeb0374fa7cd /framework/Web/UI/TThemeManager.php | |
parent | 0ba28834e1f3be042ab669b8336e03f70319e4a7 (diff) |
Diffstat (limited to 'framework/Web/UI/TThemeManager.php')
-rw-r--r-- | framework/Web/UI/TThemeManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php index 178cc91f..47c32a2e 100644 --- a/framework/Web/UI/TThemeManager.php +++ b/framework/Web/UI/TThemeManager.php @@ -105,7 +105,7 @@ class TThemeManager extends TComponent implements IModule }
}
-class TTheme extends TTemplate
+class TTheme extends TComponent
{
const THEME_CACHE_PREFIX='prado:theme:';
const SKIN_FILE_EXT='.skin';
@@ -171,9 +171,9 @@ class TTheme extends TTemplate }
}
closedir($dir);
+ if($cache!==null)
+ $cache->set(self::THEME_CACHE_PREFIX.$themePath,array($this->_skins,time()));
}
- if($cache!==null)
- $cache->set(self::THEME_CACHE_PREFIX.$themePath,array($this->_skins,time()));
}
public function applySkin($control)
|