summaryrefslogtreecommitdiffstats
path: root/system/core/URI.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-14 02:32:19 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-14 02:32:19 +0200
commitfb859791182edd2f46479cd69ea4615daebed655 (patch)
treec834aa4a7382a3176e50a5a47aec8ef7b2a6f3b0 /system/core/URI.php
parenta8262ba2fe0e11302b8d81e1afba71d4f96cd6d7 (diff)
And yet another missed line from the last one
Diffstat (limited to 'system/core/URI.php')
-rw-r--r--system/core/URI.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/URI.php b/system/core/URI.php
index ef1a12650..a997525ee 100644
--- a/system/core/URI.php
+++ b/system/core/URI.php
@@ -195,7 +195,7 @@ class CI_URI {
}
elseif (strpos($_SERVER['REQUEST_URI'], dirname($_SERVER['SCRIPT_NAME'])) === 0)
{
- $uri = substr($uri, strlen(dirname($_SERVER['SCRIPT_NAME'])));
+ $uri = substr($_SERVER['REQUEST_URI'], strlen(dirname($_SERVER['SCRIPT_NAME'])));
}
else
{