fastadmin如何本地安装

fastadmin本地安装分几步:

  1. 文件地址:/vendor/karsonzhang/fastadmin-addons/src/addons/service.php

     // 压缩包验证、版本依赖判断(大约200多行)
     //Service::valid($params);  //改为注释
    
  2. 文件地址/application/admin/controller/addon.php

     	//大约234行左右,throw new Exception(__('Please login and try to install'));注释掉
     	if (!$uid || !$token) {
             //throw new Exception(__('Please login and try to install'));
         }
    
  3. 文件地址:/public/assets/js/backend/addon.js

     	//大约231行,注释掉
     	if (parseInt(uid) === 0) {
           	   //$(".btn-userinfo").trigger("click");
               //return false;
           }
    

你可能感兴趣的:(php)