Config: Hard-code path to preferences INI files

This commit is contained in:
Alexander Klimov 2014-06-25 11:46:43 +02:00
parent a18058e185
commit ab1d8655f9
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}