mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-30 23:27:14 +00:00
Update build.php
This commit is contained in:
@@ -37,7 +37,7 @@ if(isset($_GET['id'])) {
|
|||||||
if (!ctype_digit(preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['id']))){
|
if (!ctype_digit(preg_replace("/[^a-zA-Z0-9_-]/","",$_GET['id']))){
|
||||||
$_GET['id'] = "1";
|
$_GET['id'] = "1";
|
||||||
}
|
}
|
||||||
$checkBuildings = array(0,17,25,26,27);
|
$checkBuildings = array(0,16,17,25,26,27);
|
||||||
if($_GET['id'] < 19 || !in_array($_GET['gid'], $checkBuildings)){
|
if($_GET['id'] < 19 || !in_array($_GET['gid'], $checkBuildings)){
|
||||||
$_GET['t'] = "";
|
$_GET['t'] = "";
|
||||||
$_GET['s'] = "";
|
$_GET['s'] = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user