From edae50ecb47d6fb72b3237b684bbd8056ebb0d86 Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Mon, 28 Aug 2017 22:47:48 +0200 Subject: [PATCH] fix: removal of non-existant form field replacements --- install/process.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/install/process.php b/install/process.php index 21031210..9e51aa4d 100644 --- a/install/process.php +++ b/install/process.php @@ -48,12 +48,12 @@ class Process { $text = preg_replace("'%CRANNYCAP%'", $_POST['crannycap'], $text); $text = preg_replace("'%TRAPPERCAP%'", $_POST['trappercap'], $text); $text = preg_replace("'%STORAGE_MULTIPLIER%'", $_POST['storage_multiplier'], $text); - $text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text); - $text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text); - $text = preg_replace("'%AUTOD%'", $_POST['autodel'], $text); - $text = preg_replace("'%AUTODT%'", $_POST['autodeltime'], $text); + //$text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text); + //$text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text); + //$text = preg_replace("'%AUTOD%'", $_POST['autodel'], $text); + //$text = preg_replace("'%AUTODT%'", $_POST['autodeltime'], $text); $text = preg_replace("'%MAX%'", $_POST['wmax'], $text); - $text = preg_replace("'%GP%'", $_POST['gpack'], $text); + //$text = preg_replace("'%GP%'", $_POST['gpack'], $text); $text = preg_replace("'%SSERVER%'", $_POST['sserver'], $text); $text = preg_replace("'%SUSER%'", $_POST['suser'], $text); $text = preg_replace("'%SPASS%'", $_POST['spass'], $text); @@ -62,7 +62,7 @@ class Process { $text = preg_replace("'%CONNECTT%'", $_POST['connectt'], $text); $text = preg_replace("'%AEMAIL%'", $_POST['aemail'], $text); $text = preg_replace("'%ANAME%'", $_POST['aname'], $text); - $text = preg_replace("'%SUBDOM%'", $_POST['subdom'], $text); + //$text = preg_replace("'%SUBDOM%'", $_POST['subdom'], $text); $text = preg_replace("'%LOGBUILD%'", $_POST['log_build'], $text); $text = preg_replace("'%LOGTECH%'", $_POST['log_tech'], $text); $text = preg_replace("'%LOGLOGIN%'", $_POST['log_login'], $text); @@ -71,9 +71,9 @@ class Process { $text = preg_replace("'%LOGWAR%'", $_POST['log_war'], $text); $text = preg_replace("'%LOGMARKET%'", $_POST['log_market'], $text); $text = preg_replace("'%LOGILLEGAL%'", $_POST['log_illegal'], $text); - $text = preg_replace("'%MINUSERLENGTH%'", $_POST['userlength'], $text); - $text = preg_replace("'%MINPASSLENGTH%'", $_POST['passlength'], $text); - $text = preg_replace("'%SPECIALCHARS%'", $_POST['specialchars'], $text); + //$text = preg_replace("'%MINUSERLENGTH%'", $_POST['userlength'], $text); + //$text = preg_replace("'%MINPASSLENGTH%'", $_POST['passlength'], $text); + //$text = preg_replace("'%SPECIALCHARS%'", $_POST['specialchars'], $text); $text = preg_replace("'%ACTIVATE%'", $_POST['activate'], $text); $text = preg_replace("'%ARANK%'", $_POST['admin_rank'], $text); $text = preg_replace("'%QUEST%'", $_POST['quest'], $text); @@ -92,7 +92,7 @@ class Process { $text = preg_replace("'%VILLAGE_EXPAND%'", $_POST['village_expand'], $text); $text = preg_replace("'%ERRORREPORT%'", $_POST['error'], $text); $text = preg_replace("'%ERROR%'", $_POST['error'], $text); - $text = preg_replace("'%GP_LOCATE%'", $_POST['gp_locate'], $text); + //$text = preg_replace("'%GP_LOCATE%'", $_POST['gp_locate'], $text); $text = preg_replace("'%PLUS_TIME%'", $_POST['plus_time'], $text); $text = preg_replace("'%PLUS_PRODUCTION%'", $_POST['plus_production'], $text); $text = preg_replace("'%MEDALINTERVAL%'", $_POST['medalinterval'], $text);