diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-04 13:44:34 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-04 13:44:34 +0200 |
commit | 9ba661b02c492e89028e5c67b7edbfc0efefc9f1 (patch) | |
tree | d3c3250b2c19b6d009c3fd3fe580b7021ed18a23 /system/core/URI.php | |
parent | 142b618fb7419972288a8f7b58e7e2509b3bf225 (diff) |
Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d
Diffstat (limited to 'system/core/URI.php')
-rwxr-xr-x | 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 0afb374c2..a575bc36e 100755 --- a/system/core/URI.php +++ b/system/core/URI.php @@ -111,7 +111,7 @@ class CI_URI { // Is there a PATH_INFO variable? // Note: some servers seem to have trouble with getenv() so we'll test it two ways - $path = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : @getenv('PATH_INFO'); + $path = isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : @getenv('PATH_INFO'); if (trim($path, '/') !== '' && $path !== '/'.SELF) { $this->_set_uri_string($path); |