summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-03 19:11:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-03 19:11:12 +0000
commitd941324173eec466b3d8b4b651b5f8368c873d89 (patch)
tree8bd34119d60fce6c53c6c471bf28290698f2398c
parentb6905de8ccc89638c64359c090d8dbdcec8168f1 (diff)
downloadpfsense-d941324173eec466b3d8b4b651b5f8368c873d89.zip
pfsense-d941324173eec466b3d8b4b651b5f8368c873d89.tar.gz
Use correct amount of arguments
Ticket #767
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 98e7729..e48d390 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -69,7 +69,7 @@ if(file_exists("/cf/conf/config.xml")) {
if(stristr($config_contents, "m0n0wall") == true) {
/* user has just upgraded to m0n0wall, replace root xml tags */
echo "Upgrading m0n0wall configuration to pfSense... ";
- $config_contents = str_replace("m0n0wall","pfsense");
+ $config_contents = str_replace("m0n0wall","pfsense", $config_contents);
$fd = fopen("/cf/conf/config.xml", "w");
fwrite($fd, $config_contents);
fclose($fd);
OpenPOWER on IntegriCloud