mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
Make sure that IDO is the default backend type if available
refs #7163 fixes #7604
This commit is contained in:
parent
f85ddeb215
commit
bb96316a7c
@ -39,10 +39,11 @@ class BackendPage extends Form
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
$resourceTypes = array('livestatus' => 'Livestatus');
|
$resourceTypes = array();
|
||||||
if (Platform::extensionLoaded('mysql') || Platform::extensionLoaded('pgsql')) {
|
if (Platform::extensionLoaded('mysql') || Platform::extensionLoaded('pgsql')) {
|
||||||
$resourceTypes['ido'] = 'IDO';
|
$resourceTypes['ido'] = 'IDO';
|
||||||
}
|
}
|
||||||
|
$resourceTypes['livestatus'] = 'Livestatus';
|
||||||
|
|
||||||
$this->addElement(
|
$this->addElement(
|
||||||
'select',
|
'select',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user