From: Ben Klang Date: Tue, 18 May 2010 18:44:44 +0000 (-0400) Subject: Framework: Make sure we have an appcache before loading the session handler X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=5f4d99bf5c06d0b0b0cc66ab6dc645fec5ebeced;p=horde.git Framework: Make sure we have an appcache before loading the session handler --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index d4f6fac36..6177ff322 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -316,6 +316,9 @@ class Horde_Registry umask($conf['umask']); } + /* Always need to load applications information. */ + $this->_loadApplicationsCache($vhost); + /* Start a session. */ if ($session_flags & self::SESSION_NONE || (PHP_SAPI == 'cli') || @@ -354,9 +357,6 @@ class Horde_Registry } } - /* Always need to load applications information. */ - $this->_loadApplicationsCache($vhost); - /* Stop system if Horde is inactive. */ if ($this->applications['horde']['status'] == 'inactive') { throw new Horde_Exception(_("This system is currently deactivated."));