parent
8412ff1405
commit
d382789bff
|
@ -71,10 +71,9 @@ Deny from all
|
|||
- Nginx环境限制上传目录禁止运行`PHP`程序:
|
||||
|
||||
```Nginx
|
||||
# 禁止运行php的目录
|
||||
location ~* ^/(i|public|config)/.*\.(php|php5)$
|
||||
{
|
||||
deny all;
|
||||
# 禁止运行php的目录 "i"是你的上传图片目录
|
||||
location ~ /(i)/.*.(php|php5)?$ {
|
||||
deny all;
|
||||
}
|
||||
```
|
||||
- 或者参考:[https://www.545141.com/981.html](https://www.545141.com/981.html)
|
||||
|
@ -86,7 +85,7 @@ Deny from all
|
|||
|
||||
<details><summary><mark><font color=darkred>点击查看2.0版更新日志</font></mark></summary>
|
||||
|
||||
* 2022-1-13 v2.4.5 beta 2
|
||||
* 2022-1-13 v2.4.5
|
||||
- 修复一处权限问题
|
||||
- 修复恢复可疑图片
|
||||
- 增加复制提示
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
<?php
|
||||
$config=Array
|
||||
(
|
||||
'title'=>'简单图床 - EasyImage',
|
||||
'keywords'=>'简单图床,easyimage,无数据库图床,PHP多图长传程序,自适应页面,HTML5,markdown,bbscode,一键复制',
|
||||
'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序,最新html5自适应页面兼容手机电脑,上传后返回图片直链,markdown图片,论坛贴图bbscode链接,简单方便支持一键复制,支持多域名,api上传。',
|
||||
'tips'=>'本站仅做演示用,不定时清理图片,单文件≤5M,每次上传≤30张',
|
||||
'domain'=>'http://192.168.2.100',
|
||||
'imgurl'=>'http://192.168.2.100',
|
||||
'domain'=>'http://localhost',
|
||||
'imgurl'=>'http://localhost',
|
||||
'user'=>'admin',
|
||||
'password'=>'e6e061838856bf47e1de730719fb2609',
|
||||
'mustLogin'=>0,
|
||||
|
@ -37,11 +37,11 @@ $config=Array
|
|||
'imgRatio_crop'=>0,
|
||||
'imgRatio_preserve_headers'=>1,
|
||||
'static_cdn'=>0,
|
||||
'theme'=>'red',
|
||||
'theme'=>'default',
|
||||
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
|
||||
'TinyImag_key'=>'',
|
||||
'moderatecontent_key'=>'',
|
||||
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
|
||||
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
|
||||
<i class="icon icon-smile"></i> <br/>',
|
||||
'ad_top'=>0,
|
||||
'ad_top_info'=>' <div id="ad" class="col-md-12" align="center" style="padding:5px;">
|
||||
|
@ -66,24 +66,13 @@ $config=Array
|
|||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(hm, s);
|
||||
})();
|
||||
</script>
|
||||
<!-- 自定义js举例:非img.545141.com跳转
|
||||
<script type= "text/javascript" >rthost=window.location.host;if(rthost!="img.545141.com"){top.location.href="https://img.545141.com/"};</script>-->
|
||||
<!--自定义代码举例:打赏、QQ邮箱、QQ群 可删除
|
||||
<iframe src="https://img.545141.com/sponsor/index.html" style="overflow-x:hidden;overflow-y:hidden; border:0xp none #fff; min-height:240px; width:100%;" frameborder="0" scrolling="no"></iframe>
|
||||
<a target="_blank" href="https://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&email=cR0UHB4fGBwxAABfEh4c">
|
||||
<i class="icon icon-envelope-alt">联系邮箱 </i>
|
||||
</a>
|
||||
<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=3feb4e8be8f1839f71e53bf2e876de36afc6889b2630c33c877d8df5a5583a6f">
|
||||
<i class="icon icon-qq">加入QQ群</i>
|
||||
</a>
|
||||
<a target="_blank" href="/master.zip"><i class="icon icon-download-alt">下载源码</i></a>-->',
|
||||
</script>',
|
||||
'checkEnv'=>1,
|
||||
'checkImg'=>1,
|
||||
'checkImg_value'=>50,
|
||||
'upload_logs'=>1,
|
||||
'cache_freq'=>2,
|
||||
'first_show'=>1,
|
||||
'version'=>'2.4.5 bate',
|
||||
'form'=>'2022-01-13 02:26:57'
|
||||
'version'=>'2.4.5',
|
||||
'form'=>'2022-01-13 03:16:10'
|
||||
);
|
Loading…
Reference in New Issue