diff --git a/install/data/constant_format.tpl b/install/data/constant_format.tpl index eaf69635..026d87ce 100644 --- a/install/data/constant_format.tpl +++ b/install/data/constant_format.tpl @@ -275,7 +275,7 @@ define("ADMIN_NAME", "%ANAME%"); define("ADMIN_RECEIVE_SUPPORT_MESSAGES", %ASUPPMSGS%); // ***** Allow Admin accounts to be raided and attacked -define("ADMIN_ALLOW_INCOMING_RAIDS", "%ARAIDS%"); +define("ADMIN_ALLOW_INCOMING_RAIDS", %ARAIDS%); diff --git a/install/process.php b/install/process.php index c6a4f00e..d703ea96 100755 --- a/install/process.php +++ b/install/process.php @@ -66,6 +66,7 @@ class Process { $text = preg_replace("'%AEMAIL%'", $_POST['aemail'], $text); $text = preg_replace("'%ANAME%'", $_POST['aname'], $text); $text = preg_replace("'%ASUPPMSGS%'", ($_POST['admin_support_msgs'] == 'True' ? 'true' : 'false'), $text); + $text = preg_replace("'%ARAIDS%'", ($_POST['admin_raidable'] == 'True' ? 'true' : 'false'), $text); //$text = preg_replace("'%SUBDOM%'", $_POST['subdom'], $text); $text = preg_replace("'%LOGBUILD%'", $_POST['log_build'], $text); $text = preg_replace("'%LOGTECH%'", $_POST['log_tech'], $text);