mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-14 00:26:07 +00:00
fix ban system 100% + replace the previous fix with better one + new admin panel by ZravianX version
This commit is contained in:
+1
-7
@@ -14,7 +14,6 @@ include("GameEngine/Village.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
$message->noticeType($_GET);
|
||||
$message->procNotice($_POST);
|
||||
if($session->access != BANNED){
|
||||
?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
@@ -114,9 +113,4 @@ echo round(($generator->pageLoadTimeEnd()-$start)*1000);
|
||||
|
||||
<div id="ce"></div>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
}else{
|
||||
header("Location: banned.php");
|
||||
}
|
||||
?>
|
||||
</html>
|
||||
Reference in New Issue
Block a user