summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
diff options
context:
space:
mode:
authorDan Horrigan <dan@dhorrigan.com>2010-12-15 14:38:30 +0100
committerDan Horrigan <dan@dhorrigan.com>2010-12-15 14:38:30 +0100
commit65d603e03d3befd6e4f13361c78ab454ea57ba70 (patch)
tree932ecbf75be10bf5d131391ce05353bdb927e28a /system/core/Input.php
parent2fae66e54bac9104acb2236aeffec80d1c794c4d (diff)
Added full Query String and $_GET array support. This is enabled by default. Added a seperate config option to enable/disable the $_GET array.
Diffstat (limited to 'system/core/Input.php')
-rw-r--r--system/core/Input.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Input.php b/system/core/Input.php
index 9d8811cdd..4ddc402ee 100644
--- a/system/core/Input.php
+++ b/system/core/Input.php
@@ -30,7 +30,7 @@ class CI_Input {
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 @@ class CI_Input {
{
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;