📜  ci4+ 连接代码 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:36.845000             🧑  作者: Mango

代码示例1
if ($db_obj->conn_id === false) {
    $config['db_debug'] = true;
    $config['hostname'] = "myMasterDatabase.com";
    $db_obj=$CI->load->database($config, TRUE);
}