summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Router.php b/system/libraries/Router.php
index ead1439f6..bbfa0d192 100644
--- a/system/libraries/Router.php
+++ b/system/libraries/Router.php
@@ -373,7 +373,7 @@ class CI_Router {
$request_uri = preg_replace("|/(.*)|", "\\1", str_replace("\\", "/", $_SERVER['REQUEST_URI']));
- if ($request_uri == '')
+ if ($request_uri == '' OR $request_uri == SELF)
{
return '';
}