Ensure compression levels are consistent

The import package function will fail when the web server has
compression enabled
This commit is contained in:
cigamit committed 2018-02-10 21:46:54 -06:00
1 parent 3c3e559928
commit bebbb7f8ed
3 files changed
+2185

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ Cacti CHANGELOG
-issue#1321: Use of legacy RRDtool pipelining functions within DSSTATS
-issue#1323: Enhance form layout for readability
-issue: Validate regular expressions if specified in add_graphs.php
-issue: Ensure compression levels are consisten when importing package
1.1.34
-issue#1040: PHP version 7.2 - ERROR PHP WARNING: sizeof()
+2182
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -141,6 +141,8 @@ function import_package($xmlfile, $profile_id = 1, $remove_orphans = false, $pre
$preview_only = $preview;
ini_set('zlib.output_compression', '0');
/* set new timeout and memory settings */
ini_set('max_execution_time', '50');
ini_set('memory_limit', '128M');