mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-22 12:43:17 +09:00
Ensure compression levels are consistent
The import package function will fail when the web server has compression enabled
This commit is contained in:
1 parent
3c3e559928
commit
bebbb7f8ed
3 files changed
+2185
No files matched your search
@@ -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
File diff suppressed because it is too large.
Load diff
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user