EasyImages2.0/config/config.php

145 lines
20 KiB
PHP
Raw Permalink Normal View History

<?php
2022-05-04 14:50:52 +00:00
$config=Array
(
'title'=>'简单图床 - EasyImage',
'keywords'=>'简单图床,easyimage,easyimage2.0,无数据库图床,免费图床,PHP多图长传程序,自适应页面,一键复制链接,HTML5,markdown,bbscode',
'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序,最新html5自适应页面兼容手机电脑,上传后返回图片直链,markdown图片,论坛贴图bbscode链接,简单方便支持一键复制,支持多域名,api上传',
'tips'=>'<a href="https://github.com/icret/EasyImages2.0" target="_black"><i class="icon icon-github"> 如果你喜欢这种图床风格就下载喔 (๑•̀ㅂ•́)و✧</i></a>
<a href="https://github.com/icret/EasyImages2.0" target="_black"><i class="icon icon-heart"> 简单图床是一款开源图床, 支持多文件上传无数据库</i></a>
2022-05-04 14:50:52 +00:00
<a><li class="icon icon-bullhorn text-muted"> 单文件≤10M,单次上传≤30张</li></a>',
'notice_status'=>0,
'notice'=>'<p>简单图床是一款开源图床, 支持多文件上传无数据库;</p>
2022-05-04 14:50:52 +00:00
<p>如果你喜欢这种图床风格就<a href="https://github.com/icret/EasyImages2.0" target="_black">下载</a> (๑•̀ㅂ•́)و✧</p>',
'domain'=>'http://127.0.0.1',
2023-01-29 22:43:40 +00:00
'imgurl'=>'http://127.0.0.1',
2022-05-04 14:50:52 +00:00
'user'=>'admin',
2023-03-04 05:52:50 +00:00
'password'=>'7676aaafb027c825bd9abab78b234070e702752f625b752e55e55b48e607e358',
2023-03-08 16:38:24 +00:00
'ftp_status'=>0,
'ftp_host'=>'',
'ftp_port'=>21,
'ftp_user'=>'',
'ftp_pass'=>'',
2024-01-19 14:21:12 +00:00
'ftp_mode'=>2,
2023-03-08 16:38:24 +00:00
'ftp_pasv'=>1,
2023-03-08 17:17:25 +00:00
'ftp_ssl'=>0,
2023-03-08 16:38:24 +00:00
'ftp_time'=>30,
2024-01-19 14:21:12 +00:00
'ftp_complete_del_local'=>0,
'ftp_delloc_sync'=>1,
2022-07-10 14:48:21 +00:00
'captcha'=>0,
2022-05-04 14:50:52 +00:00
'mustLogin'=>0,
'apiStatus'=>0,
2022-05-04 14:50:52 +00:00
'path'=>'/i/',
'storage_path'=>'Y/m/d/',
2022-05-04 14:50:52 +00:00
'mime'=>'image/*,video/*',
2024-03-03 23:23:11 +00:00
'imgName'=>'default',
2022-05-04 14:50:52 +00:00
'maxSize'=>10485760,
'maxUploadFiles'=>30,
'watermark'=>0,
'waterText'=>'简单图床 - png.cm',
2024-01-19 14:21:12 +00:00
'waterPosition'=>9,
'textColor'=>'rgba(255,0,0,1)',
'textSize'=>20,
'textFont'=>'/public/static/pang_men_zheng_dao_biao_ti_ti_3.0.ttf',
2022-05-04 14:50:52 +00:00
'waterImg'=>'/public/images/watermark.png',
'extensions'=>'jpg,jpeg,png,gif,bmp,webp,ico,jfif,tif,tga,svg',
2022-05-04 14:50:52 +00:00
'compress'=>0,
'compress_ratio'=>80,
'thumbnail'=>1,
2022-09-20 05:44:48 +00:00
'thumbnail_w'=>258,
'thumbnail_h'=>258,
2022-05-04 14:50:52 +00:00
'imgConvert'=>'',
'maxWidth'=>10240,
'maxHeight'=>10240,
'minWidth'=>5,
'minHeight'=>5,
'imgRatio'=>0,
'image_x'=>200,
'image_y'=>200,
'imgRatio_quality'=>80,
'imgRatio_crop'=>1,
'imgRatio_preserve_headers'=>1,
'static_cdn'=>0,
'theme'=>'default',
'static_cdn_url'=>'https://fastly.jsdelivr.net/gh/icret/EasyImages2.0',
2022-05-04 14:50:52 +00:00
'TinyPng_key'=>'',
'checkImg'=>0,
'checkImg_value'=>80,
2022-05-04 14:50:52 +00:00
'moderatecontent_key'=>'',
'nsfwjs_url'=>'',
'showSwitch'=>1,
'history'=>1,
2022-05-04 14:50:52 +00:00
'showSort'=>1,
'listNumber'=>20,
2022-05-09 06:37:58 +00:00
'listDate'=>10,
2022-05-04 14:50:52 +00:00
'customize'=>'',
2023-03-10 02:31:11 +00:00
'checkEnv'=>0,
'allowed'=>1,
2024-01-19 14:21:12 +00:00
'upload_logs'=>0,
2022-05-04 14:50:52 +00:00
'cache_freq'=>2,
'upload_first_show'=>1,
2022-05-25 10:23:17 +00:00
'dark-mode'=>1,
2023-03-10 02:31:11 +00:00
'show_admin_inc'=>1,
2022-05-04 14:50:52 +00:00
'show_user_hash_del'=>1,
'show_exif_info'=>1,
2022-07-10 14:48:21 +00:00
'info_rand_pic'=>1,
2022-05-04 14:50:52 +00:00
'chart_on'=>1,
'check_ip'=>0,
'check_ip_model'=>0,
'check_ip_list'=>'',
2024-03-03 23:23:11 +00:00
'md5_black'=>0,
'md5_blacklist'=>'',
2023-02-12 08:09:21 +00:00
'auto_delete'=>0,
2024-01-19 14:21:12 +00:00
'timezone'=>'Asia/Shanghai',
'ip_upload_counts'=>0,
2022-05-04 14:50:52 +00:00
'public'=>0,
'public_list'=>Array
(
0=>'time',
1=>'today',
2=>'yesterday',
3=>'total_space',
4=>'used_space',
5=>'free_space',
6=>'image_used',
7=>'file',
8=>'dir',
9=>'month'
),
'language'=>0,
2023-03-08 18:42:50 +00:00
'login_bg'=>'../app/bing.php',
2024-03-03 23:23:11 +00:00
'report'=>'',
2023-03-10 02:31:11 +00:00
'image_recycl'=>1,
2022-05-04 14:50:52 +00:00
'tinyfilemanager'=>1,
'file_manage'=>1,
'delDir'=>'cache/',
2022-05-04 14:50:52 +00:00
'hide'=>0,
'hide_key'=>'EasyImage2.0',
'hide_path'=>0,
'admin_path_status'=>0,
'guest_path_status'=>0,
'token_path_status'=>0,
'admin_path'=>'u',
2024-01-19 14:21:12 +00:00
'chunks'=>0,
'NProgress_default'=>'#000000',
'NProgress_Progress'=>'#03aa62',
2023-02-18 11:37:17 +00:00
'footer'=>'<script>var _hmt=_hmt||[];(function(){var hm=document.createElement("script");hm.src="https://hm.baidu.com/hm.js?c790ac2bdc2f385757ecd0183206108d";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s)})();</script>',
2022-05-04 14:50:52 +00:00
'ad_top'=>0,
'ad_top_info'=>' <!--广告 按照这个范例替换相应链接,如果想多几个广告,就多复制几个-->
2022-09-20 05:44:48 +00:00
<div class="col-md-12" style="text-align: center;margin:2px;"><a href="https://app.cloudcone.com.cn/?ref=3521" target="_blank"><img src="/public/images/EasyImage2.0.png" /></a></div>',
2022-05-04 14:50:52 +00:00
'ad_bot'=>0,
2024-03-03 23:23:11 +00:00
'ad_bot_info'=>'<div class="col-md-12" style="text-align: center;margin-bottom:10px;"><span data-toggle="tooltip" title="您的赞美是我开发的动力!"><button type="button" class="btn btn-mini btn-danger" data-toggle="modal" data-moveable="true" data-size="sm" data-icon="heart" data-title="您的赞美是我开发的动力!" data-custom="<ul class=\'nav nav-tabs\'><li class=\'active\'><a data-tab href=\'#wechat\'><i class=\'icon icon-wechat\' style=\'color:#329d38;\'> 微信</i></a></li><li><a data-tab href=\'#alipay\'><i class=\'icon icon-zhifubao-square\' style=\'color:#1970fc;\'> 支付宝</i></a></li></ul><div class=\'tab-content\'><div class=\'tab-pane active\' id=\'wechat\'><img src=\'https://icret.gitee.io/easyimages2.0/images/wechat.jpg\'></div><div class=\'tab-pane\' id=\'alipay\'><img src=\'https://icret.gitee.io/easyimages2.0/images/alipay.jpg\'></div></div>"><i class="icon icon-heart"></i> 打赏</button></span></div>',
2023-02-18 11:37:17 +00:00
'set_notice'=>'<div class="alert alert-primary alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">x</button>
<h5>目录保存以 /// 递进,非必要请勿修改! 否则会导致部分操作不可用;</h5>
<h5>本人仅为程序开源创作,如遇非法网站使用与本人无关,请勿用于商业用途;</h5>
2024-03-03 23:23:11 +00:00
<h5>更改配置或内容应注意闭合标签, 否则会导致页面显示不全或者功能异常;</h5>
<h5>作为开发者你可以对相应功能进行扩展(增删改相应代码), 但请保留代码中源作者信息。</h5>
2023-02-18 11:37:17 +00:00
<a href="https://png.cm/?admin.inc" target="_blank"><button type="button" class="btn btn-mini"><i class="icon icon-external-link"></i> 演示</button></a>
2024-01-19 14:21:12 +00:00
<a href="https://icret.github.io/EasyImages2.0/#/" target="_blank"><button type="button" class="btn btn-mini"><i class="icon icon-book"></i> 手册</button></a>
2023-02-18 11:37:17 +00:00
<a href="https://github.com/icret/EasyImages2.0/discussions" target="_blank"><button type="button" class="btn btn-mini"><i class="icon icon-comments-alt"></i> 社区</button></a>
<a href="https://t.me/Easy_Image" target="_blank" data-toggle="tooltip" title="EasyImage Telegram Group"><button type="button" class="btn btn-mini"><i class="icon icon-plane"></i> Telegram</button></a>
<span data-toggle="tooltip" title="您的赞美是我开发的动力!"><button type="button" class="btn btn-mini btn-primary" data-toggle="modal" data-moveable="true" data-size="sm" data-icon="heart" data-title="您的赞美是我开发的动力!" data-custom="<ul class=\'nav nav-tabs\'><li class=\'active\'><a data-tab href=\'#wechat\'><i class=\'icon icon-wechat\' style=\'color:#329d38;\'> 微信</i></a></li><li><a data-tab href=\'#alipay\'><i class=\'icon icon-zhifubao-square\' style=\'color:#1970fc;\'> 支付宝</i></a></li></ul><div class=\'tab-content\'><div class=\'tab-pane active\' id=\'wechat\'><img src=\'../public/images/wechat.jpg\'></div><div class=\'tab-pane\' id=\'alipay\'><img src=\'../public/images/alipay.jpg\'></div></div>"><i class="icon icon-yen"></i>打赏作者</button></span>
</div>',
'terms'=>'<div class="row"><div class="col-md-12 col-xs-12"><div class="col-md-3 col-xs-3"><ul class="nav nav-tabs nav-stacked"><li class="active"><a href="#Terms" data-target="#tab3Content1" data-toggle="tab">服务条款</a></li><li><a href="#Privacy" data-target="#tab3Content2" data-toggle="tab">隐私政策</a></li><li><a href="#DMCA" data-target="#tab3Content3" data-toggle="tab">DMCA</a></li></ul></div><div class="col-md-9 col-xs-9"><div class="tab-content col-md-9 col-xs-9"><div class="tab-pane fade active in" id="tab3Content1"><h4>服务条款</h4><hr><p>访问我们网站除主页和本“条款”页面以外的任何页面,即表示您同意这些使用条款和我们的隐私政策。如果您不同意,请不要使用我们的网站。</p><ol><li>您使用我们的网站进行除简单访问/查看之外的任何事情(即上传、下载、评论等),不仅构成您的同意,而且构成您的电子签名,这意味着您受这些条款的合同约束,并且通过我们的隐私政策。</li><li>我们保留在使用过多带宽或以其他方式滥用系统的用户帐户上禁用直接链接的权利。</li><li>请勿上传儿童色情内容或威胁、骚扰、诽谤或鼓励非法行为的材料。不要使用本网站作为内容交付网络。如果你这样做(我们将成为法官),或者如果你做了任何违法的事情,除了我们可能拥有的任何其他合法权利之外,我们将禁止你以及你从中盗链的网站,删除你的所有图片,报告如有必要,您可以向当局报告,并阻止您查看本网站上托管的任何图像。我们是认真的。</li><li>用户必须同意遵守适用于其所在地的所有法律,包括版权和商标法。不允许使用侵犯版权或商标的图片。如果有人对您提出侵权索赔,您将被要求删除受版权保护的文件,直到问题得到解决。如果本网站的参与者之间存在争议,我们没有义务参与其中。</li><li>您可以匿名上传图像,并与您的朋友、家人、在线站点以及社交网络在线共享。</li><li>如果您在我们的网站上看到任何不应该出现的内容,因为它违反了我们的政策或出于任何其他原因,请通过电子邮件联系告知我们</li><li>声明通知中的信息准确无误,否则会受到伪证处罚。为此,请包括以下声明: “我发誓,通知中的信息准确无误,并且我是(版权)所有者或被授权代表专有权的所有者行事,在作伪证的处罚下涉嫌侵权”。</li></ol><p>如果发生调查,本网站承诺与任何和所有法律机构合作。</p></div><div class="tab-pane fade" id="tab3Content2"><h4>隐私政策</h4><hr><h4>一般:</h4><p>当您访问本网站或使用本政策中进一步概述的服务(“服务”),本网站致力于保护您的隐私。作为使用本网站服务的条件,您同意向本网站提供某些个人信息。该信息包括但不限于: 电子邮件地址和您计算机的唯一 IP 地址(如果有)、财务信息(您的 Paypal 帐户使用的电子邮件地址)和人口统计信息(例如,邮政编码、邮政编码、家乡、性别、购买历史信息和年龄以及不是您计算机独有的 IP 地址)。请注意,我们不会在本网站的任何地方故意收集 13 岁以下儿童的联系信息或财务信息。请定期查看本隐私政策,因为我们可能会不时对其进行更新。本隐私政策的最后修订日期为 2021年10月25日。您每次访问本网站、使用服务或向我们提供信息时,即表示您当时接受本隐私政策中描述的做法。您同意,通过使用本网站,您明确并肯定地同意我们使用和披露您提供的信息,并同意接收电子邮件,如下面的隐私政策所述。</p><h4>隐私政策变更:</h4><p>随着新功能添加到网站或我们纳入用户的建议,本政策可能会随着时间的推移进行修订。如果我们打算以与我们收集信息时声明的方式大不相同的方式使用或披露您的个人身份信息,您将可以选择我们是否以这种新方式使用或披露您的信息。<EFBFBD><EFBFBD>
2024-06-14 09:08:13 +00:00
'update'=>'2024-06-14 16:52:31'
2021-11-09 03:43:23 +00:00
);