From: Chuck Hagenbuch Date: Sun, 14 Nov 2010 02:37:49 +0000 (-0500) Subject: Autoload Helpers X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=75431e498e6517b1d56b3f3fba412fe4fd753fc6;p=horde.git Autoload Helpers --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index 4f4a12682..4d9c58e6f 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -1111,6 +1111,7 @@ class Horde_Registry $autoloader->addClassPathMapper(new Horde_Autoloader_ClassPathMapper_Prefix('/^' . $app . '(?:$|_)/i', $app_lib)); $applicationMapper = new Horde_Autoloader_ClassPathMapper_Application($this->get('fileroot', $app) . '/app'); $applicationMapper->addMapping('Controller', 'controllers'); + $applicationMapper->addMapping('Helper', 'helpers'); $applicationMapper->addMapping('SettingsExporter', 'settings'); $autoloader->addClassPathMapper($applicationMapper); @@ -1297,7 +1298,7 @@ class Horde_Registry $this->_cache['conf-' . $app] = $appConfig; $this->_saveCacheVar('conf-' . $app); } - + $GLOBALS['conf'] = Horde_Array::array_merge_recursive_overwrite($this->_cache['conf-horde'], $this->_cache['conf-' . $app]); }