From: Jan Schneider Date: Thu, 18 Nov 2010 14:08:38 +0000 (+0100) Subject: Reload configuration after clearing cache due to language changes. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8e7b8f7dd5902f34251085c34619c454ff988bd5;p=horde.git Reload configuration after clearing cache due to language changes. --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index c2e0659f7..1598a31c0 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -2182,6 +2182,9 @@ class Horde_Registry return; } $this->clearCache(); + $this->_cache['conf-horde'] = Horde::loadConfiguration('conf.php', 'conf', 'horde'); + $GLOBALS['conf'] = &$this->_cache['conf-horde']; + $this->importConfig($this->getApp()); } $GLOBALS['language'] = $lang;