Reload configuration after clearing cache due to language changes.
authorJan Schneider <jan@horde.org>
Thu, 18 Nov 2010 14:08:38 +0000 (15:08 +0100)
committerJan Schneider <jan@horde.org>
Thu, 18 Nov 2010 14:15:44 +0000 (15:15 +0100)
framework/Core/lib/Horde/Registry.php

index c2e0659..1598a31 100644 (file)
@@ -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;