summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TThemeManager.php
diff options
context:
space:
mode:
authorxue <>2006-06-14 12:47:28 +0000
committerxue <>2006-06-14 12:47:28 +0000
commit0ebf1c0fcc8f4396c4637a8afb42bbdaa6721cfe (patch)
tree8abf5337834204eaefa2be72d5e1e437e4259418 /framework/Web/UI/TThemeManager.php
parentc97b571b49e71d33d10959d96e7ad30bd54f1d5a (diff)
CSS and JS files in a theme are now included in page in alphabetic order
Diffstat (limited to 'framework/Web/UI/TThemeManager.php')
-rw-r--r--framework/Web/UI/TThemeManager.php2
1 files changed, 2 insertions, 0 deletions
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()));
}