diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index acc39f4f55..6a30a36923 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2011-02-08 Juan Manuel Ramon + + * include/functions_html.php: Image path in function print_image is now + relative. + + Fixes: #3175265 + 2011-02-11 Sancho Lerena * pandoradb_data.sql: Added new OS: android. diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 6f55b6a5af..8bdd09be36 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1094,9 +1094,8 @@ function print_image ($src, $return = false, $options = false) { if ($skin_path) $src = $skin_path; } - // absolute path to image - $urlImage = ($config['https'])?'https://':'http://'; - $src = $urlImage . $config["dbhost"] . $config["homeurl"] . '/' . $src; + // path to image + $src = $config["homeurl"] . '/' . $src; $output = '