From cdf9ea9fd9b774df40876e57b52d09a4107172d8 Mon Sep 17 00:00:00 2001 From: icret Date: Tue, 14 Feb 2023 21:19:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/admin.inc.php | 22 ++++++++++------------ application/info.php | 2 +- config/config.php | 4 ++-- docs/update.md | 6 ++---- 4 files changed, 15 insertions(+), 19 deletions(-) diff --git a/admin/admin.inc.php b/admin/admin.inc.php index 9703562..f0f33d0 100755 --- a/admin/admin.inc.php +++ b/admin/admin.inc.php @@ -263,7 +263,6 @@ if (isset($_GET['suspic_reimg'])) { "; } - header("refresh:1;url=/admin/admin.inc.php"); } @@ -392,7 +391,6 @@ auto_delete(); //定时删除
-
@@ -560,8 +558,8 @@ auto_delete(); //定时删除
- - + +
@@ -585,7 +583,7 @@ auto_delete(); //定时删除
天数 - +
" placeholder="隐藏的保存"> @@ -617,17 +615,17 @@ auto_delete(); //定时删除
- + px - + px
- +
@@ -836,7 +834,7 @@ auto_delete(); //定时删除
游客上传限制 - +
@@ -1086,7 +1084,7 @@ auto_delete(); //定时删除
- +
@@ -1096,7 +1094,7 @@ auto_delete(); //定时删除
- +
@@ -1161,7 +1159,7 @@ auto_delete(); //定时删除
有效期 - +
diff --git a/application/info.php b/application/info.php index 19fac37..05ed3ae 100755 --- a/application/info.php +++ b/application/info.php @@ -171,7 +171,7 @@ if ($config['ad_top']) echo $config['ad_top_info'];
- +
diff --git a/config/config.php b/config/config.php index 481c259..d977efe 100755 --- a/config/config.php +++ b/config/config.php @@ -41,7 +41,7 @@ $config=Array 'textSize'=>50, 'textFont'=>'/public/static/pang_men_zheng_dao_biao_ti_ti_3.0.ttf', 'waterImg'=>'/public/images/watermark.png', - 'extensions'=>'gif,jpeg,png,tif,bmp,svg,webp,jpg,tga,ico,avif', + 'extensions'=>'jpg,jpeg,png,gif,bmp,webp,svg,ico,jfif,tif,svg,tga', 'compress'=>0, 'compress_ratio'=>80, 'thumbnail'=>1, @@ -115,7 +115,7 @@ $config=Array 'guest_path_status'=>0, 'token_path_status'=>0, 'admin_path'=>'u', - 'update'=>'2023-02-13 12:54:50', + 'update'=>'2023-02-14 21:17:45', 'footer'=>'© Since 2018 EasyImage DMCA diff --git a/docs/update.md b/docs/update.md index a1f4484..0e7dc3d 100644 --- a/docs/update.md +++ b/docs/update.md @@ -1,8 +1,6 @@ -![项目状态](https://repobeats.axiom.co/api/embed/0922803f14091f0686de26fee5196b9984b106a4.svg "Repobeats analytics image") - *2023-02-12 v2.7.5 dev -- 增加定时删除上传文件 -- 更换检测最新版本方式 +- 增加定时删除文件 +- 更换检测新版本方式 - API上传增加返回Token ID - 优化显示