diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-12-06 15:19:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-12-06 15:19:22 +0100 |
commit | b2280ced6f7214f3df40754152208ac3f3f02bce (patch) | |
tree | 2562c250a76a88691b02ef8baf704421986c1478 | |
parent | 3fd3345de27c7ccd7ed1efea1805d61a66171a53 (diff) |
Another use of CI_URI::_remove_relative_directory()
-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 07add5a4d..900472b61 100644 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -274,7 +274,7 @@ class CI_URI { parse_str($_SERVER['QUERY_STRING'], $_GET); - return str_replace(array('//', '../'), '/', trim($uri, '/')); + return $this->_remove_relative_directory($uri); } // -------------------------------------------------------------------- |