예제 #1
0
 /**
  * @deprecated
  * @param Zend_Config $options
  */
 public static function initPlugins(Zend_Config $options)
 {
     return X_VlcShares_Plugins::init($options);
 }
예제 #2
0
 protected function _initPlugins()
 {
     $this->bootstrap('db');
     $this->bootstrap('configs');
     $this->bootstrap('debug');
     $configs = $this->getResource('configs');
     if ($configs instanceof Zend_Config) {
         try {
             //X_Debug::i('Options: '.var_export($configs->helpers, true));
             X_VlcShares_Plugins::init($configs->plugins, $configs->helpers);
         } catch (Exception $e) {
             X_Debug::e("Plugins disabled: {$e->getMessage()}");
         }
     }
 }