EasyImages2.0/config/config.php

77 lines
2.8 KiB
PHP
Raw Normal View History

<?php
2021-11-17 14:01:01 +00:00
$config=Array
(
'title'=>'简单图床 - EasyImage',
'keywords'=>'简单图床,easyimage,无数据库图床,PHP多图长传程序,自适应页面,HTML5,markdown,bbscode,一键复制',
'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序最新html5自适应页面兼容手机电脑上传后返回图片直链markdown图片论坛贴图bbscode链接简单方便支持一键复制支持多域名api上传。',
'tips'=>'本站仅做演示用,不定时清理图片单文件≤5M每次上传≤30张',
'domain'=>'http://localhost',
'imgurl'=>'http://localhost',
2022-01-05 10:41:45 +00:00
'user'=>'admin',
'password'=>'e6e061838856bf47e1de730719fb2609',
2021-11-17 14:01:01 +00:00
'mustLogin'=>0,
'apiStatus'=>0,
'path'=>'/i/',
'imgName'=>'default',
'maxSize'=>5242880,
'maxUploadFiles'=>30,
'watermark'=>0,
'waterText'=>'简单图床 - img.545141.com',
'waterPosition'=>0,
'textColor'=>'255,0,0,1',
'textSize'=>16,
'textFont'=>'/public/static/hkxzy.ttf',
'waterImg'=>'/public/images/watermark.png',
'extensions'=>'gif,jpeg,png,tif,bmp,tif,svg,webp,jpg,tga,svg,ico',
2021-11-17 14:01:01 +00:00
'compress'=>0,
2022-01-05 10:41:45 +00:00
'thumbnail'=>0,
2021-11-17 14:01:01 +00:00
'imgConvert'=>'',
'maxWidth'=>10240,
'maxHeight'=>10240,
'minWidth'=>5,
'minHeight'=>5,
'imgRatio'=>0,
2022-01-05 10:41:45 +00:00
'image_x'=>800,
'image_y'=>800,
2022-01-02 22:47:28 +00:00
'imgRatio_quality'=>80,
'imgRatio_crop'=>0,
2022-01-01 07:40:23 +00:00
'imgRatio_preserve_headers'=>1,
2021-11-17 14:01:01 +00:00
'static_cdn'=>0,
2022-01-03 12:04:27 +00:00
'theme'=>'default',
2021-11-17 14:01:01 +00:00
'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0',
2022-01-05 10:41:45 +00:00
'TinyImag_key'=>'',
'moderatecontent_key'=>'',
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
<i class="icon icon-smile"></i> <br/>',
2021-11-17 14:01:01 +00:00
'ad_top'=>0,
2022-01-03 12:04:27 +00:00
'ad_top_info'=>' <div id="ad" class="col-md-12" align="center" style="padding:5px;">
<!--广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
<a href="https://app.cloudcone.com/?ref=3521" target="_blank"><img src="/public/images/ad.jpg" /></a>
</div>
2021-11-17 14:01:01 +00:00
',
'ad_bot'=>0,
2022-01-03 12:04:27 +00:00
'ad_bot_info'=>' <div id="ad" class="col-md-12" align="center" style="padding:5px;">
<!--广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
<a href="https://app.cloudcone.com/?ref=3521" target="_blank"><img src="/public/images/ad.jpg" /></a>
</div>
2021-11-17 14:01:01 +00:00
',
2022-01-05 10:41:45 +00:00
'showSwitch'=>0,
2021-11-17 14:01:01 +00:00
'listNumber'=>20,
2022-01-03 12:04:27 +00:00
'customize'=>' <!-- 百度统计代码-->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?5320b69f4f1caa9328dfada73c8e6a75";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
2022-01-01 07:40:23 +00:00
</script>',
2021-11-17 14:01:01 +00:00
'checkEnv'=>1,
2022-01-05 10:41:45 +00:00
'checkImg'=>1,
2021-11-17 14:01:01 +00:00
'checkImg_value'=>50,
'upload_logs'=>1,
'cache_freq'=>2,
2022-01-05 10:41:45 +00:00
'version'=>'2.4.5 bate',
'form'=>'2022-01-05 18:27:18'
2021-11-09 03:43:23 +00:00
);