mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-02 08:27:15 +00:00
General fixes
+Removed almost all "BANNED" controls to template and .php UI files. The control will be done only once and in the Session class
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
<?php
|
||||
if($session->access!=BANNED){
|
||||
$building->finishAll('plus.php?id=3');
|
||||
exit;
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
exit;
|
||||
}
|
||||
<?php
|
||||
$building->finishAll('plus.php?id=3');
|
||||
exit;
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user