Esempio n. 1
0
 private static function _initLibrary()
 {
     // Register the ZFE controller plugins as helpers
     Zend_Controller_Action_HelperBroker::addPath(ZFE_Environment::getLibraryPath() . '/Controller/Helpers', 'ZFE_Controller_Helper');
     // Load the ZFE_Plugin_ActiveModule plugin
     self::$bootstrap->bootstrap('FrontController');
     $front = self::$bootstrap->getResource('FrontController');
     $front->registerPlugin(new ZFE_Plugin_ActiveModule());
 }