mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-14 23:31:02 +00:00
Update database.php
This commit is contained in:
@@ -27,7 +27,7 @@ class MYSQL_DB {
|
|||||||
var $connection;
|
var $connection;
|
||||||
|
|
||||||
function MYSQL_DB() {
|
function MYSQL_DB() {
|
||||||
$this->connection = mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS) or die(mysql_error());
|
$this->connection = mysqli_connect(SQL_SERVER, SQL_USER, SQL_PASS) or die(mysql_error());
|
||||||
mysql_select_db(SQL_DB, $this->connection) or die(mysql_error());
|
mysql_select_db(SQL_DB, $this->connection) or die(mysql_error());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user