refactoring the uri class more.

This commit is contained in:
Taylor Otwell 2011-10-24 23:43:57 -05:00
parent bce571bf26
commit e454227d32
1 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,9 @@ public function get()
{
if ( ! is_null($this->uri)) return $this->uri;
return $this->uri = $this->format($this->clean(parse_url($this->server['REQUEST_URI'], PHP_URL_PATH)));
$uri = parse_url($this->server['REQUEST_URI'], PHP_URL_PATH);
return $this->uri = $this->format($this->clean($uri));
}
/**