diff --git a/README.md b/README.md index a39699d..90c79f7 100755 --- a/README.md +++ b/README.md @@ -21,21 +21,26 @@ ## 特点 +* [x] 支持API * [x] 支持仅登录后上传 * [x] 支持设置图片质量 +* [x] 支持压缩图片大小 * [x] 支持文字/图片水印 * [x] 支持设置图片指定宽/高 * [x] 支持上传图片转换为指定格式 * [x] 支持限制最低宽度/高度上传 -* [x] 支持API +* [x] 支持上传其他文件格式 * [x] 在线管理图片 * [x] 支持网站统计 * [x] 支持设置广告 * [x] 支持图片鉴黄 * [x] 支持自定义代码 * [x] 支持上传IP黑白名单 +* [x] 支持上传日志IP定位 +* [x] 支持限制日上传次数 * [x] 支持创建仅上传用户 * [x] 对于安装环境要求极低 +* [x] 对于服务器性能要求极低 * [x] 更多功能支持请安装尝试··· ## 界面演示 diff --git a/admin/admin.inc.php b/admin/admin.inc.php index eac79cf..af0bea9 100755 --- a/admin/admin.inc.php +++ b/admin/admin.inc.php @@ -520,7 +520,7 @@ if (isset($_POST['del_version_file'])) {


- + @@ -571,7 +571,7 @@ if (isset($_POST['del_version_file'])) {
清理缓存 已缓存:
- +
@@ -908,7 +908,8 @@ if (isset($_POST['del_version_file'])) {

Web服务:

服务器IP:

系统时间:

-

占用内存:

+

页面占用:

+

占用峰值:

占用磁盘:

剩余磁盘:

PHP信息
@@ -919,7 +920,8 @@ if (isset($_POST['del_version_file'])) {

运行时间限制:

最大占用内存:

POST上传限制:

-

GD版本:

+

GD版本: +

我的信息

IP:

@@ -1110,7 +1112,7 @@ if (isset($_POST['del_version_file'])) {
- +
@@ -1128,7 +1130,7 @@ if (isset($_POST['del_version_file'])) {
-
上传者账号 只能用于上传
+
上传者账号 账户只能用于上传
diff --git a/admin/version.php b/admin/version.php index 74500ce..460b6fd 100644 --- a/admin/version.php +++ b/admin/version.php @@ -1 +1 @@ -2.7.4 \ No newline at end of file +2.7.5 \ No newline at end of file diff --git a/api/index.php b/api/index.php index b7a71b3..3c90af8 100755 --- a/api/index.php +++ b/api/index.php @@ -170,6 +170,7 @@ if ($handle->uploaded) { "srcName" => $handle->file_src_name_body, "thumb" => $handleThumb, "del" => $delUrl, + "ID" => $tokenID, // 202-02-11 增加返回Token ID ); echo json_encode($reJson, JSON_UNESCAPED_UNICODE); $handle->clean(); @@ -179,6 +180,7 @@ if ($handle->uploaded) { "result" => "failed", "code" => 206, "message" => $handle->error, + "memory" => getDistUsed(memory_get_usage()), //内存使用率 2023-02-11 // 'log' => $handle->log,(仅用作调试用) ); unset($handle); diff --git a/application/check.php b/application/check.php index 981a424..b6ebdf6 100755 --- a/application/check.php +++ b/application/check.php @@ -5,7 +5,7 @@ if (!is_file(APP_ROOT . '/config/install.lock') and is_file(APP_ROOT . '/install exit(''); } /** 检测弹窗 */ -if (file_exists(APP_ROOT . '/config/EasyIamge.lock')) return; // 查询锁定弹窗文件是否存在 +if (is_file(APP_ROOT . '/config/EasyIamge.lock')) return; // 查询锁定弹窗文件是否存在 file_put_contents(APP_ROOT . '/config/EasyIamge.lock', '安装环境检测锁定文件,如需再次展示请删除此文件!', FILE_APPEND | LOCK_EX); ?>