Fixing Issue #3349

Variable max_input_vars is read only.  Attempting to change it adds no value
This commit is contained in:
TheWitness committed 2020-03-16 18:49:21 -04:00
1 parent 9d38ca43cb
commit bb3fcabdd1
2 files changed
+1 -3

No files matched your search

-3
View File
@@ -79,8 +79,6 @@ $url_path = '/cacti/';
/* disable log rotation setting */
$disable_log_rotation = false;
/* allow upto 5000 items to be selected */
ini_set('max_input_vars', '5000');
$config = array();
/* Include configuration, or use the defaults */
@@ -391,7 +389,6 @@ if ($config['is_web']) {
/* set the maximum post size */
ini_set('post_max_size', '8M');
ini_set('max_input_vars', '5000');
ini_set('session.cookie_httponly', '1');
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') {
ini_set('session.cookie_secure', '1');