diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-12-06 22:09:21 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-12-06 22:09:21 +0000 |
commit | f0d3086a5da853d1bc325e706530bb8aa4a534f3 (patch) | |
tree | eb18dda4dce9bb1a318dce619fd42ef446bcdd2b | |
parent | be292b70b38536aed4e45bd4a0718ad9a0ac0029 (diff) | |
download | pfsense-packages-f0d3086a5da853d1bc325e706530bb8aa4a534f3.tar.gz pfsense-packages-f0d3086a5da853d1bc325e706530bb8aa4a534f3.tar.bz2 pfsense-packages-f0d3086a5da853d1bc325e706530bb8aa4a534f3.zip |
Correct split pattern
-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 cc3740ca..b20bbba4 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"); |