mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
parent
4763b6b20a
commit
771efae1a2
@ -136,6 +136,10 @@ class DbConnection implements Selectable, Extensible, Updatable, Reducible, Insp
|
|||||||
);
|
);
|
||||||
$this->dbType = strtolower($this->config->get('db', 'mysql'));
|
$this->dbType = strtolower($this->config->get('db', 'mysql'));
|
||||||
switch ($this->dbType) {
|
switch ($this->dbType) {
|
||||||
|
case 'mssql':
|
||||||
|
$adapter = 'Pdo_Mssql';
|
||||||
|
$adapterParamaters['pdoType'] = $this->config->get('pdoType', 'dblib');
|
||||||
|
break;
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
$adapter = 'Pdo_Mysql';
|
$adapter = 'Pdo_Mysql';
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user