protected function createServerUrl($uri)
    {
        $gateway = Config::get('cms.updateServer', 'http://gateway.octobercms.com/api');
        if (substr($gateway, -1) != '/') {
            $gateway .= '/';
        }

        return $gateway . $uri;
    }
protected function createServerUrl($uri)
    {
        $gateway = Config::get('cms.updateServer', 'http://gateway.octobercms.com/api');
        if (substr($gateway, -1) != '/') {
            $gateway .= '/';
        }

        return $gateway . $uri;
    }
protected function createServerUrl ( $ uri ) { $ gateway = Config :: get ( 'cms.updateServer' , 'http://gateway.octobercms.com/api' ) ; if ( substr ( $ gateway , - 1 ) != '/' ) { $ gateway .= '/' ; } return $ gateway . $ uri ; }
Create a complete gateway server URL from supplied URI
@param  string $uri URI
@return string      URL
Create a complete gateway server URL from supplied URI