diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-07 00:22:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-07 00:22:04 +0000 |
commit | 042cebbcab6e448682e8c9af5a26e513bb361367 (patch) | |
tree | cd41fe59c7b6d4cc97e788f4d744a126059724b9 /packages | |
parent | f834c579096563f476ee179e1a6225df59bcc6e1 (diff) | |
download | pfsense-packages-042cebbcab6e448682e8c9af5a26e513bb361367.tar.gz pfsense-packages-042cebbcab6e448682e8c9af5a26e513bb361367.tar.bz2 pfsense-packages-042cebbcab6e448682e8c9af5a26e513bb361367.zip |
Really encrypt data and keep header
Diffstat (limited to 'packages')
-rw-r--r-- | packages/autoconfigbackup/upload_config_filter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/upload_config_filter.php b/packages/autoconfigbackup/upload_config_filter.php index 83c3040b..7b5548e8 100644 --- a/packages/autoconfigbackup/upload_config_filter.php +++ b/packages/autoconfigbackup/upload_config_filter.php @@ -36,7 +36,7 @@ if($last_backup_date <> $last_config_change) { // Encrypt config.xml $data = file_get_contents("/cf/conf/config.xml"); - $configxml = encrypt_data($data, $encryptpw); + $data = encrypt_data($data, $encryptpw); tagfile_reformat($data, $data, "config.xml"); $post_fields = array( |