diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 541b1ed3a..c0d599f0f 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -328,8 +328,8 @@ if (!isset($_COOKIE['pma_theme']) || empty($_COOKIE['pma_theme'])){ } else { $GLOBALS['theme'] = $_COOKIE['pma_theme']; } - $pmaThemeImage = './' . $cfg['ThemePath'] . '/' . $_GLOBALS['theme'] . '/img/'; - $tmp_layout_file = './' . $cfg['ThemePath'] . '/' . PMA_securePath($_GLOBALS['theme']) . '/layout.inc.php'; + $pmaThemeImage = './' . $cfg['ThemePath'] . '/' . $GLOBALS['theme'] . '/img/'; + $tmp_layout_file = './' . $cfg['ThemePath'] . '/' . PMA_securePath($GLOBALS['theme']) . '/layout.inc.php'; if (@file_exists($tmp_layout_file)) { include($tmp_layout_file); }