This commit is contained in:
Rolf Allard van Hagen 2024-04-04 15:44:35 +00:00 committed by GitHub
commit 59a2c4154a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3502,7 +3502,8 @@ class FM_Zipper_Tar
function save()
{
$fm_file = __FILE__;
global $config_file;
$fm_file = is_readable($config_file) ? $config_file : __FILE__;
$var_name = '$CONFIG';
$var_value = var_export(json_encode($this->data), true);
$config_string = "<?php" . chr(13) . chr(10) . "//Default Configuration".chr(13) . chr(10)."$var_name = $var_value;" . chr(13) . chr(10);