- 增加根目录静态属性
- 增加浏览页面懒加载
- 增加浏览页面启用选定日期查看图片
- 增加版本检测 ***每月10日06点和25日01点检测Github是否更新***
- 增加上传压缩 ***此压缩有可能使图片变大!特别是小图片 也有一定概率改变图片方向***
- 增加批量压缩目录 ***TinyImag或本机压缩,本机压缩出现的问题***
- 修复title
- 修复二级目录安装
- 修复对PHP5.6的兼容 ***建议使用php7.0及以上!***
This commit is contained in:
icret
2021-05-22 11:27:53 +08:00
parent fa9c9bdfd2
commit 2d7d5bfe66
40 changed files with 7166 additions and 319 deletions

22
config/api_key.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
/**
* 此文件用来存放各种key
* 2021-5-8 22:04:55
*/
$Api_Key = [
// 填写 TinyImag Key 申请地址https://tinypng.com/developers
'TinyImag' => '****7pPVQc9P***4Jvd2zH*****'
];
/*
* Token list 请在此填写需要配置Token的用户 前边编号有助于识别上传者ID
* 格式: ID数字需要从0开始,顺序添加)=> Token注意后边',')
*/
$tokenList = array(
0 => '8337effca0ddfcd9c5899f3509b23657',
1 => '1c17b11693cb5ec63859b091c5b9c1b2',
);