aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-06 21:45:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-06 21:45:56 +0000
commit460f82d70ecfc4fcae19298a63913c081fe2fba6 (patch)
tree14a506b0bf5f66521dc3f97ebbd52fa49ccad08c /packages
parent520815c32403c3517dc0494a84e3fd8df4a01125 (diff)
downloadpfsense-packages-460f82d70ecfc4fcae19298a63913c081fe2fba6.tar.gz
pfsense-packages-460f82d70ecfc4fcae19298a63913c081fe2fba6.tar.bz2
pfsense-packages-460f82d70ecfc4fcae19298a63913c081fe2fba6.zip
Use ---- as seperator (begin portion instead of ||)
Diffstat (limited to 'packages')
-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 1a503c8b..f8735bee 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("||", $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");