Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个版本很多checkupdate的地方,需要修改,不然之前安装了主题的网站都会502了 #2

Open
evanjiang404 opened this issue Jun 29, 2022 · 2 comments

Comments

@evanjiang404
Copy link

  • 1、footer.php第二行下面的$check_host = 'http://tool.sq.zmki.cn/update.php';$client_check = $check_host . '?a=client_check&u=' . $_SERVER['HTTP_HOST'];$check_message = $check_host . '?a=check_message&u=' . $_SERVER['HTTP_HOST'];$check_info=file_get_contents($client_check);$message = file_get_contents($check_message);要删除
    上面这个影响网站打开502

  • 2、functions.php下面的8-11行删掉,用$message = '1.11.1';替换
    上面这个影响主题设置502

@evanjiang404
Copy link
Author

$message = '1.11.1'可以换成你的版本号

@tituo2021
Copy link

其他的都没有问题,只有一个问题,就是导航网站会跳到[域名]/目标网站url,无法直接跳转到目标网站,比如导航baidu.com,点击开报错“域名没找到”,地址栏的url是[域名]/baidu.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants