申明:仅为模板开发,去除提示使用!如果喜欢该程序,请赞助原作者。
- 去除 注册码验证,原始文件36-57行。(路径:include\lib\register.php)
public static function checkEmKey($emkey) { // if (empty($emkey)) { // return false; // } // // $emcurl = new EmCurl(); // $emcurl->setPost(['emkey' => $emkey]); // $emcurl->request(OFFICIAL_SERVICE_HOST . 'proauth/register'); // if ($emcurl->getHttpStatus() !== 200) { // return false; // } // $response = $emcurl->getRespone(); // $response = json_decode($response, 1); // if ($response['code'] !== 200) { // $CACHE = Cache::getInstance(); // Option::updateOption('emkey', ''); // $CACHE->updateCache('options'); // return false; // } return true; } - 去除 商店验证,原始文件27-31行。(路径:admin\store.php)
if ($ret['code'] === MSGCODE_EMKEY_INVALID) { // Option::updateOption('emkey', ''); // $CACHE->updateCache('options'); // emDirect("./register.php?error_store=1"); }Ps:有想一起拼注册码的小伙伴😊😊😊
1529

被折叠的 条评论
为什么被折叠?



