code/Debug/Helper/Http.php
public function getRequestPath()
    {
        $requestPath = '';
        $server = $this->getGlobalServer();
        if (array_key_exists('REQUEST_URI', $server)) {
            $requestPath = parse_url($server['REQUEST_URI'], PHP_URL_PATH);
        }

        return $requestPath;
    }
public function getRequestPath()
    {
        $requestPath = '';
        $server = $this->getGlobalServer();
        if (array_key_exists('REQUEST_URI', $server)) {
            $requestPath = parse_url($server['REQUEST_URI'], PHP_URL_PATH);
        }

        return $requestPath;
    }
public function getRequestPath ( ) { $ requestPath = '' ; $ server = $ this -> getGlobalServer ( ) ; if ( array_key_exists ( 'REQUEST_URI' , $ server ) ) { $ requestPath = parse_url ( $ server [ 'REQUEST_URI' ] , PHP_URL_PATH ) ; } return $ requestPath ; }
Returns request path based on REQUEST_URI

@return mixed|string
Returns request path based on REQUEST_URI