Contao\Environment::url PHP 메소드

url() 보호된 정적인 메소드

Return the current URL without path or query string
protected static url ( ) : string
리턴 string The URL
    protected static function url()
    {
        $host = static::get('httpHost');
        $xhost = static::get('httpXForwardedHost');
        // SSL proxy
        if ($xhost != '' && $xhost == \Config::get('sslProxyDomain')) {
            return 'https://' . $xhost . '/' . $host;
        }
        return (static::get('ssl') ? 'https://' : 'http://') . $host;
    }