From e78f5ff4a4546df837bfda1d3282046092691c5a Mon Sep 17 00:00:00 2001 From: icret Date: Sun, 27 Mar 2022 03:39:15 +0800 Subject: [PATCH] fix bugs --- .htaccess | 0 README.md | 8 +++-- admin/admin.inc.php | 15 +++++++-- application/del.php | 35 +++++++++------------ application/footer.php | 67 +++++++++++++++++++++++++++++++++------- application/function.php | 54 +++++++++++++++++++++++++++----- application/thumb.php | 1 - config/base.php | 36 --------------------- config/config.php | 9 ++++-- install/contorl.php | 2 ++ 10 files changed, 143 insertions(+), 84 deletions(-) create mode 100755 .htaccess delete mode 100755 config/base.php diff --git a/.htaccess b/.htaccess new file mode 100755 index 0000000..e69de29 diff --git a/README.md b/README.md index 5625e8c..feee828 100755 --- a/README.md +++ b/README.md @@ -116,12 +116,16 @@ $HTTP["url"] =~ "^/(i|public)/" {
点击查看2.0版更新日志 * 2022-3-15 v2.5.7 dev +- 增加弹窗公告 - 微调了广场样式 +- 微调了删除文件 +- 删除了base.php - 日志记录上传IP端口 - 日志记录通过API上传的ID - 修复图片回收中批量删除失败 - 修复广场预览ico格式文件失败 -- 缩略图最大生成与用户设置关联 +- 修复个别浏览器显示二维遮住网页 +- 缩略图最大生成与用户设置最大上传关联 - 安全检测中检测本地域名改为检测局域网 * 2022-3-13 v2.5.6 @@ -480,4 +484,4 @@ RewriteRule config/(.*).(php)$ – [F] * have fun! [![项目状态](https://repobeats.axiom.co/api/embed/0922803f14091f0686de26fee5196b9984b106a4.svg "Repobeats analytics image")](https://png.cm) -[![Stargazers over time](https://starchart.cc/icret/EasyImages2.0.svg)](/stargazers) +[![Stargazers over time](https://starchart.cc/icret/EasyImages2.0.svg)](https://github.com/icret/EasyImages2.0/stargazers) diff --git a/admin/admin.inc.php b/admin/admin.inc.php index 8b9aa82..98ae6fb 100755 --- a/admin/admin.inc.php +++ b/admin/admin.inc.php @@ -226,7 +226,7 @@ if (isset($_GET['recycle_reimg'])) {
- +
@@ -234,7 +234,11 @@ if (isset($_GET['recycle_reimg'])) {
- + +
+
+ +
@@ -638,6 +642,13 @@ if (isset($_GET['recycle_reimg'])) {
+
+
+ + > + +
+
diff --git a/application/del.php b/application/del.php index 1bdf10b..3608d61 100755 --- a/application/del.php +++ b/application/del.php @@ -4,18 +4,7 @@ * 删除文件页面 */ require_once './header.php'; -echo '
-
-
-
- - -
- -
-
- '; if (empty($_REQUEST)) { echo ' '; - //header("refresh:3;url=".$config['domain'].""); +} -} elseif (isset($_GET['url'])) { +$img = $config['imgurl'] . '/public/images/404.png'; +if (isset($_GET['url'])) { $img = $_GET['url']; - echo ' -
- 简单图床-EasyImage -
'; } // 解密删除 @@ -114,9 +100,17 @@ if (is_who_login('admin')) { '; } } - -require_once APP_ROOT . '/application/footer.php'; ?> +
+ 简单图床-EasyImage +
+
+ + +
+ +
+
\ No newline at end of file + + -