src/Maleeby/MRest/Routing.php
public static function getUri() {
        if (self::$_uri === null) {
            $uri = explode('?', $_SERVER['REQUEST_URI'], 2)[0];
            self::$_uri = self::fixUri(substr($uri, strlen(BASE_URI)));
        }
        return self::$_uri;
    }
public static function getUri() {
        if (self::$_uri === null) {
            $uri = explode('?', $_SERVER['REQUEST_URI'], 2)[0];
            self::$_uri = self::fixUri(substr($uri, strlen(BASE_URI)));
        }
        return self::$_uri;
    }
public static function getUri ( ) { if ( self :: $ _uri === null ) { $ uri = explode ( '?' , $ _SERVER [ 'REQUEST_URI' ] , 2 ) [ 0 ] ; self :: $ _uri = self :: fixUri ( substr ( $ uri , strlen ( BASE_URI ) ) ) ; } return self :: $ _uri ; }
Get the current URI
@return string The current URI
Get the current URI