コード例 #1
0
ファイル: core.php プロジェクト: istobran/Tieba_Sign
 function init()
 {
     global $_config;
     if (!$_config) {
         require_once SYSTEM_ROOT . './config.inc.php';
     }
     $this->init_header();
     $this->init_useragent();
     CACHE::pre_fetch('setting', 'plugin', 'plugins');
     Updater::init();
     $this->init_syskey();
     $this->init_cookie();
     cloud::init();
     HOOK::INIT();
     $this->init_final();
 }
コード例 #2
0
ファイル: core.php プロジェクト: dfc643/tieba-sign-mod
 function _load_module_hooks()
 {
     require_once SYSTEM_ROOT . './class/hooks.php';
     HOOK::INIT();
 }