aboutsummaryrefslogtreecommitdiffstats
path: root/packages/autoconfigbackup/autoconfigbackup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-07 01:11:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-07 01:11:09 +0000
commit7de808a36eebcb241d087532fdbc1bb301a7aa29 (patch)
tree41d6947dd15ac4e86bb8a19184bf0a357c1efd75 /packages/autoconfigbackup/autoconfigbackup.php
parent123408bce9ea9bd4a02b5d69739e218296a3faba (diff)
downloadpfsense-packages-7de808a36eebcb241d087532fdbc1bb301a7aa29.tar.gz
pfsense-packages-7de808a36eebcb241d087532fdbc1bb301a7aa29.tar.bz2
pfsense-packages-7de808a36eebcb241d087532fdbc1bb301a7aa29.zip
Download and use crypt_acb.php which is a copy of crypt.php only included in 1.3.
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 6a03105e..24f26f05 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -34,6 +34,8 @@
require("guiconfig.inc");
$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
+if(strstr("1.2", $pfSversion))
+ require("crypt_acb.php");
// Seperator used during client / server communications
$oper_sep = "\|\|";