From 0ebf1c0fcc8f4396c4637a8afb42bbdaa6721cfe Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 14 Jun 2006 12:47:28 +0000 Subject: CSS and JS files in a theme are now included in page in alphabetic order --- framework/Web/UI/TThemeManager.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'framework/Web/UI/TThemeManager.php') diff --git a/framework/Web/UI/TThemeManager.php b/framework/Web/UI/TThemeManager.php index fcb20a81..66bfa8be 100644 --- a/framework/Web/UI/TThemeManager.php +++ b/framework/Web/UI/TThemeManager.php @@ -305,6 +305,8 @@ class TTheme extends TApplicationComponent implements ITheme } } closedir($dir); + sort($this->_cssFiles); + sort($this->_jsFiles); if($cache!==null) $cache->set(self::THEME_CACHE_PREFIX.$themePath,array($this->_skins,$this->_cssFiles,$this->_jsFiles,time())); } -- cgit v1.2.3