mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: PHP <7 constructor
This commit is contained in:
@@ -27,7 +27,7 @@ class Village {
|
||||
private $production = array();
|
||||
private $oasisowned,$ocounter = array();
|
||||
|
||||
function Village() {
|
||||
function __construct() {
|
||||
global $session, $database;
|
||||
if(isset($_SESSION['wid'])) {
|
||||
$this->wid = $_SESSION['wid'];
|
||||
|
||||
Reference in New Issue
Block a user