Viewing 1 post (of 1 total)
  • Author
    Posts
  • EddieLuc Friend
    #141158

    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

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  EddieLuc 15 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum