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
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public static function uri()
$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));
}