Fix unnecessary HTTPS redirect to reduce traffic
This commit is contained in:
parent
c5429df59c
commit
09316041c6
|
@ -163,7 +163,7 @@ class WidgetHelper
|
||||||
if (is_array($a)) {
|
if (is_array($a)) {
|
||||||
if (array_key_exists("image_path", $a)) {
|
if (array_key_exists("image_path", $a)) {
|
||||||
$a["image_path"] = $a["image_path"] && $a["image_path"] !== '' ?
|
$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 {
|
} else {
|
||||||
self::findAndConvertPaths($a);
|
self::findAndConvertPaths($a);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue