mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-06 12:54:21 +00:00
fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones
This commit is contained in:
@@ -28,7 +28,7 @@ include_once("../GameEngine/Database.php");
|
||||
class adm_DB {
|
||||
|
||||
var $connection;
|
||||
function adm_DB(){
|
||||
function __construct(){
|
||||
global $database;
|
||||
$database = new MYSQLi_DB;
|
||||
$this->connection = $database->return_link();
|
||||
|
||||
Reference in New Issue
Block a user