diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-20 22:36:30 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-20 22:36:30 +0000 |
commit | adb0c767a0633da3e8283d0008e3d6703b61166f (patch) | |
tree | aea82f0d3173ef7d4ba9de6a58478c4fae9968e0 /etc | |
parent | f45e6a3b967d093bf585da381276d1bdedf8c15c (diff) | |
download | pfsense-adb0c767a0633da3e8283d0008e3d6703b61166f.zip pfsense-adb0c767a0633da3e8283d0008e3d6703b61166f.tar.gz |
Look for <pfsense>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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, "<pfsense>")) $data = ""; if($data) { $fd = fopen($g['conf_path'] . "/config.xml", "w"); |