Correct () usage

This commit is contained in:
Scott Ullrich 2005-10-09 21:55:26 +00:00
parent 5801019651
commit 9d10caaaa5

View File

@ -121,7 +121,7 @@ if ($_POST) {
$tmp .= fread($fd,49);
}
fclose($fd);
if(stristr($tmp, "m0n0wall" == true)) {
if(stristr($tmp, "m0n0wall") == true) {
log_error("Upgrading m0n0wall configuration to pfsense.");
/* m0n0wall was found in config. convert it. */
$upgradedconfig = str_replace("m0n0wall", "pfsense", $tmp);