public function getBaseUri()
    {
        $script = $this->get('script');
        $base   = str_replace('\\', '/', dirname($script));

        if ($base != '/') {
            $url = strtolower($this->get('scheme')) . $this->get('name') . $base;
        } else {
            $url = strtolower($this->get('scheme')) . $this->get('name');
        }

        return $url;
    }
public function getBaseUri()
    {
        $script = $this->get('script');
        $base   = str_replace('\\', '/', dirname($script));

        if ($base != '/') {
            $url = strtolower($this->get('scheme')) . $this->get('name') . $base;
        } else {
            $url = strtolower($this->get('scheme')) . $this->get('name');
        }

        return $url;
    }
public function getBaseUri ( ) { $ script = $ this -> get ( 'script' ) ; $ base = str_replace ( '\\' , '/' , dirname ( $ script ) ) ; if ( $ base != '/' ) { $ url = strtolower ( $ this -> get ( 'scheme' ) ) . $ this -> get ( 'name' ) . $ base ; } else { $ url = strtolower ( $ this -> get ( 'scheme' ) ) . $ this -> get ( 'name' ) ; } return $ url ; }
Get current base Uri

@return string Current base uri.
Get current base Uri