src/Single/Latte.php
private function getBasePath()
	{
		$pathInfo = new Http\RequestFactory;
		$basePath = rtrim($pathInfo->createHttpRequest()->url->basePath, '/');
		return $basePath;
	}
private function getBasePath()
	{
		$pathInfo = new Http\RequestFactory;
		$basePath = rtrim($pathInfo->createHttpRequest()->url->basePath, '/');
		return $basePath;
	}
private function getBasePath ( ) { $ pathInfo = new Http \ RequestFactory ; $ basePath = rtrim ( $ pathInfo -> createHttpRequest ( ) -> url -> basePath , '/' ) ; return $ basePath ; }
Path to root.
@return string
Path to root .