Autoload Helpers
authorChuck Hagenbuch <chuck@horde.org>
Sun, 14 Nov 2010 02:37:49 +0000 (21:37 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 14 Nov 2010 04:37:18 +0000 (23:37 -0500)
framework/Core/lib/Horde/Registry.php

index 4f4a126..4d9c58e 100644 (file)
@@ -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]);
     }