mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-10 21:31:01 +00:00
Some fix and add protected players
Some fix and add protected players
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user