mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: raidable admin in installation script configured properly
This commit is contained in:
@@ -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%);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user