You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
fix PHP8.0
This commit is contained in:
@@ -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通! ",{
|
||||
|
||||
Reference in New Issue
Block a user