Update database.php

This commit is contained in:
Shadow
2016-03-02 07:50:37 +02:00
parent b80ef13676
commit 248aa1f2a4
+1 -1
View File
@@ -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());
} }