Commit e454227d authored by Taylor Otwell's avatar Taylor Otwell

refactoring the uri class more.

parent bce571bf
......@@ -40,7 +40,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