Commit 08ea1dbb authored by Taylor Otwell's avatar Taylor Otwell

fixed bug in request uri method.

parent f6ea58ed
...@@ -68,7 +68,7 @@ class Request { ...@@ -68,7 +68,7 @@ class Request {
$index = '/'.Config::$items['application']['index']; $index = '/'.Config::$items['application']['index'];
if (trim($index) !== '' and strpos($uri, $index) === 0) if (trim($index) !== '/' and strpos($uri, $index) === 0)
{ {
$uri = substr($uri, strlen($index)); $uri = substr($uri, strlen($index));
} }
......
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