fix: raidable admin in installation script configured properly

This commit is contained in:
Martin Ambrus
2017-10-24 21:29:18 +02:00
parent 19cb9e230c
commit 961a11d16a
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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%);
+1
View File
@@ -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);