diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-14 02:32:19 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-14 02:32:19 +0200 |
commit | fb859791182edd2f46479cd69ea4615daebed655 (patch) | |
tree | c834aa4a7382a3176e50a5a47aec8ef7b2a6f3b0 /system/core | |
parent | a8262ba2fe0e11302b8d81e1afba71d4f96cd6d7 (diff) |
And yet another missed line from the last one
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/URI.php | 2 |
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 { |