Пример #1
0
 function parse_phpinclude($filename)
 {
     includephp($this->getIncludeFileName($filename));
 }
Пример #2
0
 function event_PostAuthentication(&$data)
 {
     global $DIR_PLUGINS, $CONF, $np_bb_off;
     if (isset($np_bb_off) && intval($np_bb_off)) {
         return;
     }
     if ($this->getOption('bb_enabled') == 'yes') {
         if (!defined('BB2_CORE')) {
             includephp($DIR_PLUGINS . 'badbehavior/bad-behavior-nucleuscms.php');
         }
     }
 }