Nette\Http\UrlScript::getBasePath PHP 메소드

getBasePath() 공개 메소드

Returns the base-path.
public getBasePath ( ) : string
리턴 string
    public function getBasePath()
    {
        $pos = strrpos($this->getScriptPath(), '/');
        return $pos === FALSE ? '' : substr($this->getPath(), 0, $pos + 1);
    }