aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-07 02:16:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-07 02:16:26 +0000
commit6a2dcae70d1851b05cd68293ebf4c5e99a7cc034 (patch)
tree291322e210471eeb20c9fd7abb86b41b81dc1e34 /packages
parent6ca15a322ba5b969abbc48cbcb5515a227527105 (diff)
downloadpfsense-packages-6a2dcae70d1851b05cd68293ebf4c5e99a7cc034.tar.gz
pfsense-packages-6a2dcae70d1851b05cd68293ebf4c5e99a7cc034.tar.bz2
pfsense-packages-6a2dcae70d1851b05cd68293ebf4c5e99a7cc034.zip
Swap arguments
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");
/*