Contao\Environment::indexFreeRequest PHP Method

indexFreeRequest() protected static method

Return the request string without the index.php fragment
protected static indexFreeRequest ( ) : string
return string The request string without the index.php fragment
    protected static function indexFreeRequest()
    {
        $strRequest = static::get('request');
        if ($strRequest == static::get('script')) {
            return '';
        }
        return $strRequest;
    }