aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-06 21:31:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-06 21:31:00 +0000
commit09d992798f3424271b7cc7de8bf1b00cdc6d6952 (patch)
treeecddb283619110126be94dd66ecdfb1e553e1988 /packages/autoconfigbackup/autoconfigbackup.php
parent078975d81e2dd2c8fefd1fadc098b71e116b27df (diff)
downloadpfsense-packages-09d992798f3424271b7cc7de8bf1b00cdc6d6952.tar.gz
pfsense-packages-09d992798f3424271b7cc7de8bf1b00cdc6d6952.tar.bz2
pfsense-packages-09d992798f3424271b7cc7de8bf1b00cdc6d6952.zip
Use || as seperator
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index ff328c64..bc45749b 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -108,7 +108,7 @@ if($_REQUEST['newver'] != "") {
$data = curl_exec($curl_session);
if (!tagfile_deformat($data, $data, "config.xml"))
$input_errors[] = "The downloaded file does not appear to contain an encrypted pfSense configuration.";
- $data_split = split("\n", $data);
+ $data_split = split("||", $data);
$sha256 = $data_split[0]; // sha256
$data = decrypt_data($data_split[1], $decrypt_password);
$fd = fopen("/tmp/config_restore.xml", "w");