Example #1
0
 public function actionInstall()
 {
     $moduleName = EnvUtil::getRequest("module");
     $status = ModuleUtil::install($moduleName);
     if ($status) {
         $jumpUrl = $this->createUrl("module/manager");
         CacheUtil::update();
         $this->success(Ibos::lang("Install module success"), $jumpUrl);
     } else {
         $this->error(Ibos::lang("Install module failed"));
     }
 }