Some fix and add protected players

Some fix and add protected players
This commit is contained in:
novgorodschi catalin
2026-08-10 12:37:56 +03:00
parent d325fce01f
commit 1ecbba0e26
12 changed files with 193 additions and 93 deletions
+4
View File
@@ -109,6 +109,10 @@ class Process {
// Minunea Lumii cu stil pe trib
$findReplace["%WWIMAGE%"] = (isset($_POST['ww_image']) && $_POST['ww_image'] === 'false') ? 'false' : 'true';
// Jucatori protejati impotriva atacurilor
$findReplace["%PROTECTEDPLAYERS%"] = isset($_POST['protected_players'])
? trim(str_replace('"', '', $_POST['protected_players'])) : '';
$findReplace["%GP%"] = (isset($_POST['gpack']) && $_POST['gpack'] === 'true') ? 'true' : 'false';
$findReplace["%SSERVER%"] = $_POST['sserver'];
$findReplace["%SPORT%"] = $_POST['sport'];