aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-06 22:09:21 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-06 22:09:21 +0000
commitf0d3086a5da853d1bc325e706530bb8aa4a534f3 (patch)
treeeb18dda4dce9bb1a318dce619fd42ef446bcdd2b
parentbe292b70b38536aed4e45bd4a0718ad9a0ac0029 (diff)
downloadpfsense-packages-f0d3086a5da853d1bc325e706530bb8aa4a534f3.tar.gz
pfsense-packages-f0d3086a5da853d1bc325e706530bb8aa4a534f3.tar.bz2
pfsense-packages-f0d3086a5da853d1bc325e706530bb8aa4a534f3.zip
Correct split pattern
-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 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");