fix PHP8.0

This commit is contained in:
icret
2022-04-02 18:10:17 +08:00
parent 22842e24ea
commit bbfb384311
9 changed files with 168 additions and 160 deletions

View File

@@ -51,11 +51,11 @@ if (is_local($config['domain'])) {
}
// 检测监黄接口是否可以访问
if ($configp['checkImg'] !== 0) {
if ($config['checkImg'] !== 0) {
if ($config['checkImg'] == 1) {
if (!@IP_URL_Ping('api.moderatecontent.com', 80, 1)) {
if (!IP_URL_Ping('api.moderatecontent.com', 80, 1)) {
echo '
<script>
new $.zui.Messager("moderatecontent 鉴黄接口无法ping通! ",{