Hi,
Could the template developers PLEASE update the following function.
function getLiveSiteURL() {
global $mosConfig_live_site;
$url = parse_url($mosConfig_live_site);
$livesite = $url['scheme'].'://'.$_SERVER['SERVER_NAME'].($_SERVER['SERVER_PORT']==80?'':':'.($_SERVER['SERVER_PORT'])).($url['path']?$url['path']:'');
return $livesite;
}
Specifically
$url['scheme'].'://'.$_SERVER['SERVER_NAME'].($_SERVER['SERVER_PORT']==80?'':':'.($_SERVER['SERVER_PORT'])).($url['path']?$url['path']:'');
I’m running on
http://localhost:85
And it keeps breaking every template. I have to manually do it every time.
Pretty please 😉
Thanks
Ed