mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-14 16:46:08 +00:00
Fixes
This commit is contained in:
@@ -15,6 +15,10 @@ class MYSQLi_DB {
|
||||
var $connection;
|
||||
function MYSQL_DB() {
|
||||
$this->connection = mysqli_connect(SQL_SERVER, SQL_USER, SQL_PASS, SQL_DB) or die('Connect Error (' . mysqli_connect_errno() . ') '. mysqli_connect_error());
|
||||
|
||||
## Added even MySQL connection for inline mysql commands in temeplate files
|
||||
$con = mysql_connect(SQL_SERVER, SQL_USER, SQL_PASS);
|
||||
mysql_select_db(SQL_DB, $this->connection);
|
||||
}
|
||||
|
||||
function register($username, $password, $email, $tribe, $act) {
|
||||
|
||||
Reference in New Issue
Block a user