mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +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') {
|
if ($type === 'Ini') {
|
||||||
$config->location = $config->config_path;
|
$config->location = IcingaConfig::resolvePath('preferences');
|
||||||
} elseif ($type === 'Db') {
|
} elseif ($type === 'Db') {
|
||||||
$config->connection = new DbConnection(ResourceFactory::getResourceConfig($config->resource));
|
$config->connection = new DbConnection(ResourceFactory::getResourceConfig($config->resource));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user