From a5835330b669dfb08b7ef8e0d816da20c29cfa74 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Tue, 8 Feb 2011 12:56:51 +0000 Subject: [PATCH] 2011-02-08 Juan Manuel Ramon * include/functions_html.php: Image path in function print_image is now relative. Fixes: #3175265 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/include/functions_html.php | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) 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 = '