source/core/datasystem/database/MDatabaseConnection.php
public function connect()
    {
        $this->connection = @new \mysqli(
            $this->host,
            $this->username,
            $this->password,
            $this->databaseName
        );

        if (!$this->connection->connect_errno) {
            $this->connection->autocommit(1);
            return true;
        } else {
            return false;
        }
    }
public function connect()
    {
        $this->connection = @new \mysqli(
            $this->host,
            $this->username,
            $this->password,
            $this->databaseName
        );

        if (!$this->connection->connect_errno) {
            $this->connection->autocommit(1);
            return true;
        } else {
            return false;
        }
    }
public function connect ( ) { $ this -> connection = @ new \ mysqli ( $ this -> host , $ this -> username , $ this -> password , $ this -> databaseName ) ; if ( ! $ this -> connection -> connect_errno ) { $ this -> connection -> autocommit ( 1 ) ; return true ; } else { return false ; } }
connects to the database server
connects to the database server