fix bad route of background image

This commit is contained in:
alejandro-campos 2020-04-23 12:35:52 +02:00
parent a4bd4a4c5d
commit 750b8397a3
1 changed files with 0 additions and 4 deletions

View File

@ -3596,11 +3596,7 @@ function visual_map_print_visual_map(
$proportion_width = ($mapWidth / $layout['width']);
if ($layout['background'] != 'None.png') {
if (is_metaconsole()) {
$backgroundImage = '/include/Image/image_functions.php?getFile=1&thumb=1&thumb_size='.$mapWidth.'x'.$mapHeight.'&file='.$config['homeurl'].'images/console/background/'.$layout['background'];
} else {
$backgroundImage = '/include/Image/image_functions.php?getFile=1&thumb=1&thumb_size='.$mapWidth.'x'.$mapHeight.'&file='.$config['homedir'].'/images/console/background/'.($layout['background']);
}
}
} else {
$mapWidth = $layout['width'];