From bac908ea4ef6cb91bc3badff4cea1bbe69274388 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Dec 2008 21:47:03 +0000 Subject: Use ++++ as split item --- packages/autoconfigbackup/autoconfigbackup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/autoconfigbackup') 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"); -- cgit v1.2.3