refactoring the uri class... again

This commit is contained in:
Taylor Otwell
2011-10-25 00:06:19 -05:00
parent 560b1362a1
commit 8595253afe

View File

@@ -41,7 +41,9 @@ class URI {
{
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));
}
/**