diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-06 21:47:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-06 21:47:03 +0000 |
commit | bac908ea4ef6cb91bc3badff4cea1bbe69274388 (patch) | |
tree | b0166b8e5331cee7363da6bb8f30ac0189966a2b /packages/autoconfigbackup | |
parent | 460f82d70ecfc4fcae19298a63913c081fe2fba6 (diff) | |
download | pfsense-packages-bac908ea4ef6cb91bc3badff4cea1bbe69274388.tar.gz pfsense-packages-bac908ea4ef6cb91bc3badff4cea1bbe69274388.tar.bz2 pfsense-packages-bac908ea4ef6cb91bc3badff4cea1bbe69274388.zip |
Use ++++ as split item
Diffstat (limited to 'packages/autoconfigbackup')
-rw-r--r-- | packages/autoconfigbackup/autoconfigbackup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php index f8735bee..2a02bd82 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"); |