mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-11 22:01:00 +00:00
Some important fixes PHP 8.1
Some important fixes PHP 8.1
This commit is contained in:
@@ -27,6 +27,14 @@ include_once( "GameEngine/Village.php" );
|
||||
include_once( "GameEngine/Units.php" );
|
||||
AccessLogger::logRequest();
|
||||
|
||||
/**
|
||||
* $route e setat doar in unele ramuri de mai jos, dar linia
|
||||
* "if(... || $route == 1 || ...)" din zona de afisare il citeste mereu.
|
||||
* Il initializam aici, o singura data, ca sa nu mai iasa
|
||||
* "Undefined variable $route" pe fiecare deschidere de cladire.
|
||||
*/
|
||||
$route = 0;
|
||||
|
||||
if(isset($_GET['newdid'])){
|
||||
$_SESSION['wid'] = $_GET['newdid'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user