Revize 8d90cc7c
Přidáno uživatelem Ondřej Fibich před více než 8 roky(ů)
system/libraries/Database.php | ||
---|---|---|
// Reset the connection array to the database config
|
||
$this->config['connection'] = $db;
|
||
|
||
if (Config::get('db_type') != '')
|
||
$this->config['connection']['type'] = Config::get('db_type');
|
||
|
||
$this->config['connection']['type'] = 'mysqli';
|
||
$this->config['connection']['user'] = Config::get('db_user');
|
||
$this->config['connection']['pass'] = Config::get('db_password');
|
||
$this->config['connection']['host'] = Config::get('db_host');
|
||
... | ... | |
|
||
protected $code = E_DATABASE_ERROR;
|
||
|
||
} // End Kohana Database Exception
|
||
} // End Kohana Database Exception
|
Také k dispozici: Unified diff
refs #1035: removal of db_type variable from the configuration, always mysqli now