fixed bug in request uri method.

This commit is contained in:
Taylor Otwell
2011-10-11 21:44:57 -05:00
parent f6ea58ed96
commit 08ea1dbbc8

View File

@@ -68,7 +68,7 @@ class Request {
$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));
}