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:
iopietro
2018-06-11 02:22:22 +02:00
parent 56f4e799e0
commit 79eb6a73d6
38 changed files with 681 additions and 1026 deletions
+3 -8
View File
@@ -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;
?>