コード例 #1
0
ファイル: joomsef.php プロジェクト: 01J/bealtine
 function plgSystemJoomsef(&$subject)
 {
     parent::__construct($subject);
     // load plugin parameters
     $this->_plugin = JPluginHelper::getPlugin('system', 'joomsef');
     $this->_params = new JRegistry($this->_plugin->params);
     if ($this->_isEnabled()) {
         require_once JPATH_ROOT . '/components/com_sef/joomsef.php';
         JoomSEF::getLanguage(JFactory::getURI());
     }
 }