mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-05 14:44:14 +09:00
Ensure compression for package extraction is correct
This is for the initial import case. Based upon QA, we have found that if the php base level compression is different than the way the package were created in the first place, that they are unreadable. Therefore, this change ensures that all compression settings are consistent across all operations including the yet unpublished package plugin.
This commit is contained in:
1 parent
d29018e9d3
commit
2f99aa5cee
1 file changed
+2
@@ -182,6 +182,8 @@ function find_best_path($binary_name) {
|
||||
function install_setup_get_templates() {
|
||||
global $config;
|
||||
|
||||
ini_set('zlib.output_compression', '0');
|
||||
|
||||
$templates = array(
|
||||
'Cisco_Router.xml.gz',
|
||||
'Generic_SNMP_Device.xml.gz',
|
||||
|
||||
Reference in new issue
Block a user