From 8869c3d78abf2bf7e72fe079ed457c28f3f8edab Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 10 Apr 2014 16:16:59 -0400 Subject: Fix version test in ACB. Bump version of ACB. --- config/autoconfigbackup/autoconfigbackup.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/autoconfigbackup/autoconfigbackup.php') diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index c0c15b95..69ac3e03 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -29,8 +29,8 @@ require("guiconfig.inc"); -$pfSversion = str_replace("\n", "", file_get_contents("/etc/version")); -if(strstr($pfSversion, "1.2")) +$pf_version=substr(trim(file_get_contents("/etc/version")),0,3); +if ($pf_version < 2.0) require("crypt_acb.php"); // Seperator used during client / server communications @@ -115,7 +115,7 @@ function get_hostnames() { {$pgtitle}

"; if($savemsg) { echo "
"; -- cgit v1.2.3