summaryrefslogtreecommitdiffstats
path: root/system/libraries/Router.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-12 21:16:57 +0200
committeradmin <devnull@localhost>2006-10-12 21:16:57 +0200
commitf6615e650f7f871fbb4a2e0e1a75fd9afa2e3647 (patch)
tree0831df7ff0931b5ec00754976e95dae3dd74fde7 /system/libraries/Router.php
parent80b2bd9b7f1ecafed0d0170be60bd0a2d8a4201c (diff)
Diffstat (limited to 'system/libraries/Router.php')
-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 '';
}