Fix unnecessary HTTPS redirect to reduce traffic

This commit is contained in:
Albert Santoni 2015-12-08 17:47:07 -05:00
parent c5429df59c
commit 09316041c6
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class WidgetHelper
if (is_array($a)) {
if (array_key_exists("image_path", $a)) {
$a["image_path"] = $a["image_path"] && $a["image_path"] !== '' ?
"http://".$_SERVER['HTTP_HOST'].$baseDir."api/show-logo?id=".$a["id"] : '';
Application_Common_HTTPHelper::getStationUrl()."api/show-logo?id=".$a["id"] : '';
} else {
self::findAndConvertPaths($a);
}