pull/18/head
icret 2021-10-30 23:12:07 +08:00
parent 95574a35d5
commit 372a897c12
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ RewriteRule config/(.*).(php)$ [F]
<details><summary><mark><font color=darkred>点击查看2.0版更新日志</font></mark></summary>
* 2021年10月30日
* 2021年10月30日 v2.3.1
- 增加监黄接口
- 增加对php5.6-php8.0的支持
- 修复二级目录无法使用

View File

@ -179,7 +179,7 @@ $config = array(
* https://moderatecontent.com/ 获取key并填入/config/api_key.php的图片检查key
* 开启后会受服务器到https://moderatecontent.com/ 速度影响,国内不建议开启!
*/
'checkImg' => true,
'checkImg' => false,
// 设置是不良图片概率,概率越大准确率越高,
'checkImg_value' => 50,
// 当前版本

View File

@ -120,7 +120,7 @@ if ($handle->uploaded) {
if($config['checkImg']){
require_once APP_ROOT . '/config/api_key.php';
checkImg($imageUrl);
@checkImg($imageUrl);
}
}