Browse Source

修复一处BUG

1.x
xiaoz 6 years ago
parent
commit
4f31b6c2e0
  1. 2
      dispose.php

2
dispose.php

@ -69,7 +69,7 @@
$dispose['compress'] = 1; $dispose['compress'] = 1;
} }
//对图片进行鉴黄 //对图片进行鉴黄
if(($ModerateContent['option'] == true) && ($level == 0)) { if(($ModerateContent['option'] == true) && (($level == 0) || ($level == null))) {
$apiurl = "https://www.moderatecontent.com/api/v2?key=".$mckey."&url=".$imgurl; $apiurl = "https://www.moderatecontent.com/api/v2?key=".$mckey."&url=".$imgurl;
$curl = curl_init($apiurl); $curl = curl_init($apiurl);

Loading…
Cancel
Save