mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
GeneralConfigForm: Fix error if there's no config.ini
This commit is contained in:
parent
744fe5977f
commit
16f1f51f66
@ -42,7 +42,7 @@ class GeneralConfigForm extends ConfigForm
|
||||
{
|
||||
parent::onRequest();
|
||||
|
||||
if ($this->config->getConfigObject()->global->config_backend === 'ini') {
|
||||
if ($this->config->get('global', 'config_backend') === 'ini') {
|
||||
$this->warning('The preferences backend of type INI is deprecated and will be removed with version 2.11');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user