application/core/manage/logic/DatabaseLogic.php
public function getConnection()
    {
        $database = Config::get('database');
        return new \mysqli($database['hostname'], $database['username'], $database['password'], $database['database'], $database['hostport']);
    }
public function getConnection()
    {
        $database = Config::get('database');
        return new \mysqli($database['hostname'], $database['username'], $database['password'], $database['database'], $database['hostport']);
    }
public function getConnection ( ) { $ database = Config :: get ( 'database' ) ; return new \ mysqli ( $ database [ 'hostname' ] , $ database [ 'username' ] , $ database [ 'password' ] , $ database [ 'database' ] , $ database [ 'hostport' ] ) ; }
数据库连接

@return \mysqli
数据库连接