Show
Ignore:
Timestamp:
09/28/2007 06:19:02 PM (14 months ago)
Author:
Shadowhand
Message:

Updates URI and Router. Use Router::$query_string() to fetch the query string. This is only available after the controller has been initialized.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/URI.php

    r581 r609  
    22 
    33class URI_Core extends Router { 
     4 
     5        public function __construct() 
     6        { 
     7                if ( ! empty($_GET)) 
     8                { 
     9                        self::$query_string = '?'; 
     10                        foreach($_GET as $key => $val) 
     11                        { 
     12                                self::$query_string .= $key.'='.rawurlencode($val); 
     13                        } 
     14                } 
     15        } 
    416 
    517        /**