diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6e92f57 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +tags diff --git a/config.inc.php b/config.inc.php index 4dfd4c4..a393b6f 100644 --- a/config.inc.php +++ b/config.inc.php @@ -242,7 +242,7 @@ function _config_unpack_payload($format, $payload) return config_msgpack_unpack($msg_packed); } -function config_make_standalone_ext_bundle(array $configs, $file_path) +function config_make_standalone_ext_bundle(array $configs, $file_path, $use_lz4 = true) { $cache_entries = array(); foreach($configs as $conf) @@ -261,7 +261,7 @@ function config_make_standalone_ext_bundle(array $configs, $file_path) $cache_entries[] = $entry; } - $packed_data = config_pack_bundle($cache_entries, get('USE_LZ4_CONFIGS')); + $packed_data = config_pack_bundle($cache_entries, $use_lz4); ensure_write($file_path, $packed_data); }