From 2f99aa5cee71a644ee55199335a2947e7fae910c Mon Sep 17 00:00:00 2001 From: cigamit Date: Sun, 11 Feb 2018 06:53:52 -0600 Subject: [PATCH] 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. --- install/functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/functions.php b/install/functions.php index 493b71b650..2b49a927e3 100644 --- a/install/functions.php +++ b/install/functions.php @@ -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',