Welcome to Paster, Anonymous Friend!
Added by anonymous on 2008-07-28 14:16:40 Download/View
  1. elseif (count($_GET) > 1 AND current($_GET) == '')
  2.                 {
  3.                         self::$current_uri = key($_GET);
  4.                         unset($_GET[self::$current_uri]);
  5.                        
  6.                         // Fixes really strange handling of a suffix in a GET string
  7.                         if ($suffix = Kohana::config('core.url_suffix') AND substr(self::$current_uri, -(strlen($suffix))) === '_'.substr($suffix, 1))
  8.                         {
  9.                                 self::$current_uri = substr(self::$current_uri, 0, -(strlen($suffix)));
  10.                         }
  11.                 }
  12.