fix
parent
ed1b5f2478
commit
3cc5924a04
15
README.md
15
README.md
|
@ -25,18 +25,18 @@
|
||||||
|
|
||||||
- [x] 支持仅登录后上传
|
- [x] 支持仅登录后上传
|
||||||
- [x] 支持设置图片质量
|
- [x] 支持设置图片质量
|
||||||
- [x] 支持上传图片转换为指定格式
|
|
||||||
- [x] 支持文字/图片水印
|
- [x] 支持文字/图片水印
|
||||||
- [x] 支持设置图片指定宽/高
|
- [x] 支持设置图片指定宽/高
|
||||||
|
- [x] 支持上传图片转换为指定格式
|
||||||
- [x] 支持限制最低宽度/高度上传
|
- [x] 支持限制最低宽度/高度上传
|
||||||
- [x] 支持设置广告
|
|
||||||
- [x] 支持自定义
|
|
||||||
- [x] 支持图片监黄
|
|
||||||
- [x] 支持API
|
- [x] 支持API
|
||||||
- [x] 在线管理图片
|
- [x] 在线管理图片
|
||||||
- [x] 支持网站统计
|
- [x] 支持网站统计
|
||||||
- [x] 支持上次黑白名单
|
- [x] 支持设置广告
|
||||||
- [x] 更多支持···
|
- [x] 支持图片监黄
|
||||||
|
- [x] 支持自定义代码
|
||||||
|
- [x] 支持上传IP黑白名单
|
||||||
|
- [x] 更多支持请安装尝试···
|
||||||
|
|
||||||
#### 界面演示
|
#### 界面演示
|
||||||
|
|
||||||
|
@ -87,7 +87,8 @@ Deny from all
|
||||||
<details><summary><mark><font color=darkred>点击查看2.0版更新日志</font></mark></summary>
|
<details><summary><mark><font color=darkred>点击查看2.0版更新日志</font></mark></summary>
|
||||||
|
|
||||||
* 2022-1-19 v2.4.6 beta
|
* 2022-1-19 v2.4.6 beta
|
||||||
视图优化
|
- 视图优化
|
||||||
|
- 删除重复内容
|
||||||
- 增加图片信息页面
|
- 增加图片信息页面
|
||||||
- 增加上传黑/白名单
|
- 增加上传黑/白名单
|
||||||
- 修复因关闭上传日志而导致的无法鉴黄和后端压缩图片
|
- 修复因关闭上传日志而导致的无法鉴黄和后端压缩图片
|
||||||
|
|
|
@ -712,7 +712,8 @@ if (isset($_GET['reimg'])) {
|
||||||
startView: 2,
|
startView: 2,
|
||||||
minView: 2,
|
minView: 2,
|
||||||
forceParse: 0,
|
forceParse: 0,
|
||||||
format: "yyyy/mm/dd/"
|
format: "yyyy/mm/dd/",
|
||||||
|
endDate: new Date() // 只能选当前日期之前
|
||||||
});
|
});
|
||||||
|
|
||||||
// 更改网页标题
|
// 更改网页标题
|
||||||
|
|
|
@ -470,7 +470,11 @@ function getVersion()
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
if ($config['checkEnv']) {
|
if ($config['checkEnv']) {
|
||||||
|
|
||||||
require_once APP_ROOT . '/application/class.version.php';
|
require_once APP_ROOT . '/application/class.version.php';
|
||||||
|
|
||||||
|
if (file_get_contents('https://github.com/icret/EasyImages2.0')) {
|
||||||
|
// 判断服务器是否可以访问GitHub
|
||||||
// 获取版本地址
|
// 获取版本地址
|
||||||
$url = "https://api.github.com/repositories/188228357/releases/latest";
|
$url = "https://api.github.com/repositories/188228357/releases/latest";
|
||||||
$getVersion = new getVerson($url);
|
$getVersion = new getVerson($url);
|
||||||
|
@ -491,9 +495,10 @@ function getVersion()
|
||||||
return $getVersion->readJson();
|
return $getVersion->readJson();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
return null;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除非空目录
|
// 删除非空目录
|
||||||
|
|
|
@ -37,7 +37,7 @@ $config=Array
|
||||||
'imgRatio_crop'=>0,
|
'imgRatio_crop'=>0,
|
||||||
'imgRatio_preserve_headers'=>1,
|
'imgRatio_preserve_headers'=>1,
|
||||||
'static_cdn'=>0,
|
'static_cdn'=>0,
|
||||||
'theme'=>'red',
|
'theme'=>'default',
|
||||||
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
|
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
|
||||||
'TinyImag_key'=>'',
|
'TinyImag_key'=>'',
|
||||||
'moderatecontent_key'=>'',
|
'moderatecontent_key'=>'',
|
||||||
|
@ -77,5 +77,5 @@ $config=Array
|
||||||
'check_ip_model'=>0,
|
'check_ip_model'=>0,
|
||||||
'check_ip_list'=>'',
|
'check_ip_list'=>'',
|
||||||
'version'=>'2.4.6 beta',
|
'version'=>'2.4.6 beta',
|
||||||
'form'=>'2022-01-20 02:15:29'
|
'form'=>'2022-01-20 02:21:08'
|
||||||
);
|
);
|
Loading…
Reference in New Issue