src/ministruts/Request.php
private function resolveBaseUriVar() {
        $envName = 'APP_BASE_URI';
        $envValue = null;

        if (!isset($_SERVER[$envName]))
            $envName = 'REDIRECT_'.$envName;

        while (isset($_SERVER[$envName])) {
            $envValue = $_SERVER[$envName];
            $envName = 'REDIRECT_'.$envName;
        }
        return $envValue;
    }
private function resolveBaseUriVar() {
        $envName = 'APP_BASE_URI';
        $envValue = null;

        if (!isset($_SERVER[$envName]))
            $envName = 'REDIRECT_'.$envName;

        while (isset($_SERVER[$envName])) {
            $envValue = $_SERVER[$envName];
            $envName = 'REDIRECT_'.$envName;
        }
        return $envValue;
    }
private function resolveBaseUriVar ( ) { $ envName = 'APP_BASE_URI' ; $ envValue = null ; if ( ! isset ( $ _SERVER [ $ envName ] ) ) $ envName = 'REDIRECT_' . $ envName ; while ( isset ( $ _SERVER [ $ envName ] ) ) { $ envValue = $ _SERVER [ $ envName ] ; $ envName = 'REDIRECT_' . $ envName ; } return $ envValue ; }
Resolve the value of an existing APP_BASE_URI server variable. Considers existing redirection values.

@return string|null - value or NULL if the variable is not defined
Resolve the value of an existing APP_BASE_URI server variable . Considers existing redirection values .