diff --git a/js/get_image.js.php b/js/get_image.js.php index cc3e29d3ba..31f8ba6668 100644 --- a/js/get_image.js.php +++ b/js/get_image.js.php @@ -77,8 +77,7 @@ function PMA_getImage(image, alternate, attributes) { // this is private alt: '', title: '', - src: (typeof PMA_TEST_THEME == 'undefined' ? '' : '../') - + 'themes/dot.gif' + src: 'themes/dot.gif' }, isSprite: true, attr: function (name, value) { diff --git a/libraries/classes/Util.php b/libraries/classes/Util.php index 46c58b6104..c1b6bc8e9a 100644 --- a/libraries/classes/Util.php +++ b/libraries/classes/Util.php @@ -136,7 +136,7 @@ class Util $class = str_replace(array('.gif','.png'), '', $image); if (array_key_exists($class, $sprites)) { $is_sprite = true; - $url = (defined('PMA_TEST_THEME') ? '../' : '') . 'themes/dot.gif'; + $url = 'themes/dot.gif'; } elseif (isset($GLOBALS['pmaThemeImage'])) { $url = $GLOBALS['pmaThemeImage'] . $image; } else {