From adb0c767a0633da3e8283d0008e3d6703b61166f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 20 Oct 2008 22:36:30 +0000 Subject: Look for --- etc/inc/config.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/config.inc') diff --git a/etc/inc/config.inc b/etc/inc/config.inc index 2da3546..05ec369 100644 --- a/etc/inc/config.inc +++ b/etc/inc/config.inc @@ -224,7 +224,7 @@ function encrypted_configxml() { echo "\nEnter the password to decrypt config.xml: "; $decrypt_password = chop(fgets($fp)); $data = decrypt_data($configtxt, $decrypt_password); - if(!strstr($data, "pfsense")) + if(!strstr($data, "")) $data = ""; if($data) { $fd = fopen($g['conf_path'] . "/config.xml", "w"); -- cgit v1.1