Exemple #1
0
 /**
  * Load system plugins.
  *
  * Implements 'core.init' event when Zikula_Core::STAGE_TABLES.
  *
  * @param Zikula_Event $event The event handler.
  *
  * @return void
  */
 public function systemPlugins(Zikula_Event $event)
 {
     if ($event['stage'] & Zikula_Core::STAGE_TABLES) {
         if (!System::isInstalling()) {
             ServiceUtil::loadPersistentServices();
             PluginUtil::loadPlugins(realpath(realpath('.') . '/plugins'), "SystemPlugin");
             EventUtil::loadPersistentEvents();
         }
     }
 }