From ab1d8655f9f37c41a008a66d7a5496f57e4b1e08 Mon Sep 17 00:00:00 2001 From: Alexander Klimov Date: Wed, 25 Jun 2014 11:46:43 +0200 Subject: [PATCH] Config: Hard-code path to preferences INI files --- library/Icinga/User/Preferences/PreferencesStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/User/Preferences/PreferencesStore.php b/library/Icinga/User/Preferences/PreferencesStore.php index 410e8f26e..81d47b394 100644 --- a/library/Icinga/User/Preferences/PreferencesStore.php +++ b/library/Icinga/User/Preferences/PreferencesStore.php @@ -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)); }