Changeset 3226
- Timestamp:
- 07/28/2008 01:19:16 PM (2 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Router.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Router.php
r3168 r3226 197 197 self::$current_uri = key($_GET); 198 198 199 // Remove the URI from $_GET 200 unset($_GET[self::$current_uri]); 201 199 202 // Fixes really strange handling of a suffix in a GET string 200 203 if ($suffix = Kohana::config('core.url_suffix') AND substr(self::$current_uri, -(strlen($suffix))) === '_'.substr($suffix, 1)) … … 202 205 self::$current_uri = substr(self::$current_uri, 0, -(strlen($suffix))); 203 206 } 204 205 // Destroy GET206 $_GET = array();207 $_SERVER['QUERY_STRING'] = '';208 207 } 209 208 elseif (isset($_SERVER['PATH_INFO']) AND $_SERVER['PATH_INFO'])
