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