mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Config: Hard-code path to preferences INI files
This commit is contained in:
parent
a18058e185
commit
ab1d8655f9
@ -132,7 +132,7 @@ abstract class PreferencesStore
|
||||
}
|
||||
|
||||
if ($type === 'Ini') {
|
||||
$config->location = $config->config_path;
|
||||
$config->location = IcingaConfig::resolvePath('preferences');
|
||||
} elseif ($type === 'Db') {
|
||||
$config->connection = new DbConnection(ResourceFactory::getResourceConfig($config->resource));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user