diff --git a/ChangeLog b/ChangeLog index 541ea04c4..0c3cd93ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -21,6 +21,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #1791568 [core] Undefined cfg, thanks to Christian Schmidt - bug #1782332 [structure] New table form does not overtake data - bug #1793763 [requirements] minimum PHP should be 4.2.0 +- patch #1787915 Avoid CSS reloading on every click, thanks to Juergen Wind 2.11.0.0 (2007-08-21) diff --git a/libraries/Config.class.php b/libraries/Config.class.php index c794ca210..506e8c1e9 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -538,12 +538,14 @@ class PMA_Config } /** - * returns time of last config change. + * returns a unique value to force a CSS reload if either the config + * or the theme changes * @return int Unix timestamp */ function getMtime() { - return max($this->source_mtime, $this->default_source_mtime, $this->set_mtime); + return $this->source_mtime + $this->default_source_mtime + $_SESSION['PMA_Theme']->mtime_info; + //"max()" most probably would only returns "source" last modified timestamp. } /**