Commit 8595253a authored by Taylor Otwell's avatar Taylor Otwell

refactoring the uri class... again

parent 560b1362
......@@ -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));
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment