diff --git a/install/include/database.php b/install/include/database.php index 426503c5..55ab0ea1 100644 --- a/install/include/database.php +++ b/install/include/database.php @@ -27,7 +27,7 @@ class MYSQL_DB { var $connection; 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()); } @@ -59,4 +59,4 @@ if(DB_TYPE) { else { $database = new MYSQL_DB; } -?> \ No newline at end of file +?>