From bb3fcabdd1b3ff7d6757fa0e0e66d8dc7f6833ce Mon Sep 17 00:00:00 2001 From: TheWitness Date: Mon, 16 Mar 2020 18:49:21 -0400 Subject: [PATCH] Fixing Issue #3349 Variable max_input_vars is read only. Attempting to change it adds no value --- CHANGELOG | 1 + include/global.php | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 20926fa585..8af0db8e84 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -23,6 +23,7 @@ Cacti CHANGELOG -issue#3345: Calendar can not work in cacti 1.2.10 -issue#3346: Broken rewrite of octet strings -issue#3348: Remove Orphans and Sync Graphs not working as expected +-issue#3349: Variable max_input_vars is read only. Attempting to change it adds no value -issue: Tree searcher sizes to 0 bytes width until page resized -issue: Clicking on an anchor that drills to another page inline removes selected menu item -feature#3304: Allow Basic Auth Accounts to be Mapped by CSV File diff --git a/include/global.php b/include/global.php index fa39730324..2ef10f01d0 100644 --- a/include/global.php +++ b/include/global.php @@ -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');