aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/autoconfigbackup/autoconfigbackup.php2
-rw-r--r--packages/autoconfigbackup/upload_config_filter.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/autoconfigbackup/autoconfigbackup.php b/packages/autoconfigbackup/autoconfigbackup.php
index 24f26f05..5e1a30db 100644
--- a/packages/autoconfigbackup/autoconfigbackup.php
+++ b/packages/autoconfigbackup/autoconfigbackup.php
@@ -34,7 +34,7 @@
require("guiconfig.inc");
$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-if(strstr("1.2", $pfSversion))
+if(strstr($pfSversion, "1.2"))
require("crypt_acb.php");
// Seperator used during client / server communications
diff --git a/packages/autoconfigbackup/upload_config_filter.php b/packages/autoconfigbackup/upload_config_filter.php
index 77f4473e..935f8d7b 100644
--- a/packages/autoconfigbackup/upload_config_filter.php
+++ b/packages/autoconfigbackup/upload_config_filter.php
@@ -1,7 +1,7 @@
<?php
$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-if(strstr("1.2", $pfSversion))
+if(strstr($pfSversion, "1.2"))
require("crypt_acb.php");
/*