From 042cebbcab6e448682e8c9af5a26e513bb361367 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 7 Oct 2008 00:22:04 +0000 Subject: Really encrypt data and keep header --- packages/autoconfigbackup/upload_config_filter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3