diff --git a/ChangeLog b/ChangeLog index 0d5793916..64942527a 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ updated themes; fixed bug #1452131 Fonts too large; fixed bug #1446211 Colors hardcoded in theme css files; + * libraries/Theme_Manager.class.php: search themes on every script start 2006-04-25 Michal Čihař * libraries/common.lib.php: Make cookie login form work with token diff --git a/libraries/Theme_Manager.class.php b/libraries/Theme_Manager.class.php index f0f4ceb4c..caa228e96 100644 --- a/libraries/Theme_Manager.class.php +++ b/libraries/Theme_Manager.class.php @@ -129,6 +129,11 @@ class PMA_Theme_Manager { if ($this->_themes_path != trim($GLOBALS['cfg']['ThemePath']) || $this->theme_default != $GLOBALS['cfg']['ThemeDefault']) { $this->init(); + } else { + // at least the theme path needs to be checked every time for new + // themes, as there is no other way at the moment to keep track of + // new or removed themes + $this->loadThemes(); } }