From 961a11d16ac1ed6d57e4b8b46b827311cdf4f35e Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Tue, 24 Oct 2017 21:29:18 +0200 Subject: [PATCH] fix: raidable admin in installation script configured properly --- install/data/constant_format.tpl | 2 +- install/process.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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);