Find the base path of the current request.

Returns

string

Source

						protected function _base() {
		if (isset($this->_base)) {
			return $this->_base;
		}
		$base = str_replace('\\', '/', dirname($this->env('PHP_SELF')));
		return rtrim(str_replace(array("/app/webroot", '/webroot'), '', $base), '/');
	}