Extends
lithium\net\http\Request
Return the full url of the current request.
Returns
stringSource
protected function _url() {
if (isset($this->_config['url'])) {
return rtrim($this->_config['url'], '/');
}
if (!empty($_GET['url']) ) {
return rtrim($_GET['url'], '/');
}
if ($uri = $this->env('REQUEST_URI')) {
return str_replace($this->env('base'), '/', parse_url($uri, PHP_URL_PATH));
}
return '/';
}