mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-14 08:36:09 +00:00
fix spieler.php + multivillage.tpl and fix player register time
This commit is contained in:
@@ -15,11 +15,11 @@ include("GameEngine/Village.php");
|
||||
$start = $generator->pageLoadTimeStart();
|
||||
if(isset($_GET['newdid'])) {
|
||||
$_SESSION['wid'] = $_GET['newdid'];
|
||||
if(isset($_GET['d'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?d=".$_GET['d']);
|
||||
if(isset($_GET['d']) && isset($_GET['c'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?d=".$_GET['d']."&c=".$_GET['c']);
|
||||
}
|
||||
else if(isset($_GET['c'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?c=".$_GET['c']);
|
||||
else if(isset($_GET['d'])){
|
||||
header("Location: ".$_SERVER['PHP_SELF']."?d=".$_GET['d']);
|
||||
}
|
||||
else{
|
||||
header("Location: ".$_SERVER['PHP_SELF']);
|
||||
|
||||
Reference in New Issue
Block a user