summaryrefslogtreecommitdiffstats
path: root/application/config
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 /application/config
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 'application/config')
-rw-r--r--application/config/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 2a084ac22..477d7bfc4 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -134,6 +134,9 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
| By default CodeIgniter uses search-engine friendly segment based URLs:
| example.com/who/what/where/
|
+| By default CodeIgniter enables access to the $_GET array. If for some
+| reason you would like to disable it, set 'allow_get_array' to FALSE.
+|
| You can optionally enable standard query string based URLs:
| example.com?who=me&what=something&where=here
|
@@ -148,6 +151,7 @@ $config['permitted_uri_chars'] = 'a-z 0-9~%.:_\-';
| use segment based URLs.
|
*/
+$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';