def get_site_url(url=''):
 return '{0}://{1}{2}'.format(('https' if ENABLE_HTTPS else 'http'), get_site_domain(), url)

def get_site_url ( url = '' ) : return '{0}://{1}{2}' . format ( ( 'https' if ENABLE_HTTPS else 'http' ) , get_site_domain ( ) , url )
returns root url of current site with domain .