summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-12-14 12:04:40 +0100
committerAndrey Andreev <narf@devilix.net>2016-12-14 12:04:40 +0100
commit25aab832ff5b064166b5af4f5c4269407c56b338 (patch)
tree3ba0b4f84e031e90581945dc3a552f25f3e56fc7 /application
parent8338bbb3586e31432caa503b6530dcea583dd8d8 (diff)
[ci skip] Deprecate 'allow_get_array', 'standardize_newlines'
Diffstat (limited to 'application')
-rw-r--r--application/config/config.php22
1 files changed, 16 insertions, 6 deletions
diff --git a/application/config/config.php b/application/config/config.php
index 23ef5a528..10315220e 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -168,9 +168,6 @@ $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
|
@@ -185,7 +182,6 @@ $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';
@@ -193,6 +189,20 @@ $config['directory_trigger'] = 'd';
/*
|--------------------------------------------------------------------------
+| Allow $_GET array
+|--------------------------------------------------------------------------
+|
+| 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.
+|
+| WARNING: This feature is DEPRECATED and currently available only
+| for backwards compatibility purposes!
+|
+*/
+$config['allow_get_array'] = TRUE;
+
+/*
+|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
@@ -404,8 +414,8 @@ $config['cookie_httponly'] = FALSE;
| Determines whether to standardize newline characters in input data,
| meaning to replace \r\n, \r, \n occurrences with the PHP_EOL value.
|
-| This is particularly useful for portability between UNIX-based OSes,
-| (usually \n) and Windows (\r\n).
+| WARNING: This feature is DEPRECATED and currently available only
+| for backwards compatibility purposes!
|
*/
$config['standardize_newlines'] = FALSE;