Added full Query String and $_GET array support. This is enabled by default. Added a seperate config option to enable/disable the $_GET array.
diff --git a/system/core/Input.php b/system/core/Input.php
index 9d8811c..4ddc402 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -30,7 +30,7 @@
var $ip_address = FALSE;
var $user_agent = FALSE;
- var $_allow_get_array = FALSE;
+ var $_allow_get_array = TRUE;
var $_standardize_newlines = TRUE;
var $_enable_xss = FALSE; // Set automatically based on config setting
var $_enable_csrf = FALSE; // Set automatically based on config setting
@@ -49,7 +49,7 @@
{
log_message('debug', "Input Class Initialized");
- $this->_allow_get_array = (config_item('enable_query_strings') === TRUE) ? TRUE : FALSE;
+ $this->_allow_get_array = (config_item('allow_get_array') === TRUE) ? TRUE : FALSE;
$this->_enable_xss = (config_item('global_xss_filtering') === TRUE) ? TRUE : FALSE;
$this->_enable_csrf = (config_item('csrf_protection') === TRUE) ? TRUE : FALSE;