Router.php
public function getAppUri()
    {
        $uri = filter_input(INPUT_SERVER, 'REQUEST_URI');
        $scriptPath = $this->getBaseUrl();
        $appUri = substr($uri, strlen($scriptPath));
        return $appUri === false ? '' : $appUri;
    }
public function getAppUri()
    {
        $uri = filter_input(INPUT_SERVER, 'REQUEST_URI');
        $scriptPath = $this->getBaseUrl();
        $appUri = substr($uri, strlen($scriptPath));
        return $appUri === false ? '' : $appUri;
    }
public function getAppUri ( ) { $ uri = filter_input ( INPUT_SERVER , 'REQUEST_URI' ) ; $ scriptPath = $ this -> getBaseUrl ( ) ; $ appUri = substr ( $ uri , strlen ( $ scriptPath ) ) ; return $ appUri === false ? '' : $ appUri ; }
Get the application URI calculated from REQUEST_URI
@return string
Get the application URI calculated from REQUEST_URI