示例#1
0
 function kk_sign($n = array())
 {
     global $_config;
     require_once SYSTEM_ROOT . './config.cfg.php';
     foreach ($this->m as $m) {
         require_once SYSTEM_ROOT . "./class/{$m}.php";
     }
     DEBUG::INIT();
     require_once SYSTEM_ROOT . './function/core.php';
     CACHE::load(array('plugins', 'setting'));
     $this->a();
     $this->b();
     $n = $n ? $n : $this->n;
     foreach ($n as $m) {
         $mm = "_load_module_{$m}";
         if (method_exists($this, $mm)) {
             $this->{$mm}();
         } else {
             $this->_load_module($m);
         }
     }
     $this->f();
 }