Avoid caching theme sprites CSS across phpMyAdmin versions analogue to cd76cb6acc

Signed-off-by: Martin Herndl <martin.herndl@world4you.com>

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
monojp 2015-08-27 15:31:26 +02:00 committed by Marc Delisle
parent ab00a2af65
commit de3e32fe27

View File

@ -11,7 +11,7 @@ if (! defined('PMA_MINIMUM_COMMON')) {
exit();
}
$bg = $_SESSION['PMA_Theme']->getImgPath() . 'sprites.png';
$bg = $_SESSION['PMA_Theme']->getImgPath() . 'sprites.png?v=' . urlencode(PMA_VERSION);
/* Check if there is a valid data file for sprites */
if (is_readable($_SESSION['PMA_Theme']->getPath() . '/sprites.lib.php')) {