From ed1b5f24784715e818f22e45b197a071e86bbc52 Mon Sep 17 00:00:00 2001 From: icret Date: Thu, 20 Jan 2022 02:18:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E9=87=8D=E5=A4=8D=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++- admin/admin.inc.php | 66 +-------------------------------------------- config/config.php | 6 ++--- 3 files changed, 7 insertions(+), 69 deletions(-) diff --git a/README.md b/README.md index c9892bb..24ff6ce 100755 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ - [x] 支持API - [x] 在线管理图片 - [x] 支持网站统计 +- [x] 支持上次黑白名单 - [x] 更多支持··· #### 界面演示 @@ -86,9 +87,10 @@ Deny from all
点击查看2.0版更新日志 * 2022-1-19 v2.4.6 beta + 视图优化 - 增加图片信息页面 - 增加上传黑/白名单 -- 视图优化 +- 修复因关闭上传日志而导致的无法鉴黄和后端压缩图片 * 2022-1-13 v2.4.5 - 修复一处权限问题 diff --git a/admin/admin.inc.php b/admin/admin.inc.php index d3e65a8..91ff164 100755 --- a/admin/admin.inc.php +++ b/admin/admin.inc.php @@ -531,7 +531,7 @@ if (isset($_GET['reimg'])) { -
+
@@ -555,70 +555,6 @@ if (isset($_GET['reimg'])) {
-
-
-
-
- - -
-
- - - -
-
-
- " placeholder="隐藏的保存"> -
- -
- -
-

更改后会立即生效并重新登录,请务必牢记账号和密码!

-

如果忘记账号可以打开->/config/config.php文件->找到user对应的键值->填入

-

如果忘记密码请将密码->转换成MD5小写->转换网址->打开/config/config.php文件->找到password对应的键值->填入

-
-
-
-
-
-
- - title="开启后会受服务器到https://moderatecontent.com速度影响,国内不建议开启!"> - -
-
-
- - - -
-
- - - -
-
-
- - > - -
-
-
-
- - title="日志每月保存一个文件;经过测试每月二十万条数据并不影响速度!"> - -
-
-
- " placeholder="隐藏的保存"> -
- -
-

为了访问速度,仅显示最近20张图片;监黄需要在安全设置->开启图片监黄。

key申请地址:https://client.moderatecontent.com/

diff --git a/config/config.php b/config/config.php index 2fee876..7945494 100755 --- a/config/config.php +++ b/config/config.php @@ -37,11 +37,11 @@ $config=Array 'imgRatio_crop'=>0, 'imgRatio_preserve_headers'=>1, 'static_cdn'=>0, - 'theme'=>'default', + 'theme'=>'red', 'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0', 'TinyImag_key'=>'', 'moderatecontent_key'=>'', - 'footer'=>'请勿上传违反中国政策的图片 + 'footer'=>'请勿上传违反中国政策的图片
', 'ad_top'=>0, 'ad_top_info'=>'