From 6a2dcae70d1851b05cd68293ebf4c5e99a7cc034 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 7 Oct 2008 02:16:26 +0000 Subject: Swap arguments --- packages/autoconfigbackup/autoconfigbackup.php | 2 +- packages/autoconfigbackup/upload_config_filter.php | 2 +- 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 @@