aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-07 06:40:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-07 06:40:39 +0000
commit10a830a6da1de9d69a279cf75db660c7df36afeb (patch)
tree06639f9724c4d5cc4a96d03548fec9a1cdc65208 /packages/autoconfigbackup/autoconfigbackup.php
parent72f5e4a1de8ab8bda1aaa15f0196ce996f360858 (diff)
downloadpfsense-packages-10a830a6da1de9d69a279cf75db660c7df36afeb.tar.gz
pfsense-packages-10a830a6da1de9d69a279cf75db660c7df36afeb.tar.bz2
pfsense-packages-10a830a6da1de9d69a279cf75db660c7df36afeb.zip
Instead of showing 0 as sha256sum (before feature arrived) show that
none is on file.
Diffstat (limited to 'packages/autoconfigbackup/autoconfigbackup.php')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index e87557a9..da84a99d 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -226,6 +226,8 @@ include("head.inc");
$ds = split("\+\+\+\+", $data);
$revision = $_REQUEST['download'];
$sha256sum = $ds[0];
+ if($sha256sum == "0")
+ $sha256sum = "None on file.";
$data = $ds[1];
$configtype = "Encrypted";
if (!tagfile_deformat($data, $data, "config.xml"))