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:
cigamit committed 2018-02-11 06:55:30 -06:00
1 parent d29018e9d3
commit 2f99aa5cee
1 file changed
+2
+2
View File
@@ -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',