示例#1
0
 public function run($config)
 {
     $this->setConfig($config);
     $this->setView();
     $this->setDbAdapter();
     $this->setInit();
     $preload = new Preload();
     $preload->run();
     $router = $this->setRouter();
     $this->post();
 }
示例#2
0
 public function run($config)
 {
     $this->setConfig($config);
     $this->setView();
     $this->setDbAdapter();
     $this->setInit();
     $preload = new Preload();
     if ($preload->start()) {
         $this->setRouter();
     }
     $this->end();
 }