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…
Reference in New Issue