mirror of https://github.com/helloxz/imgurl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xiaoz
8150e5df1a
|
7 years ago | |
---|---|---|
admin | 7 years ago | |
db | 7 years ago | |
functions | 7 years ago | |
static | 7 years ago | |
temp | 7 years ago | |
tpl | 7 years ago | |
upload | 7 years ago | |
LICENSE | 7 years ago | |
README.md | 7 years ago | |
about.php | 7 years ago | |
check.php | 7 years ago | |
config.php | 7 years ago | |
dispose.php | 7 years ago | |
favicon.ico | 7 years ago | |
found.php | 7 years ago | |
index.php | 7 years ago | |
robots.txt | 7 years ago |
README.md
ImgURL
ImgURL是一款简单、纯粹的图床程序,使用PHP + SQLite 3开发,不需要复杂的配置,做到开箱即用。
环境要求
- PHP >= 5.6
- 需要exif函数支持
- SQLite 3
开发计划
- 图片上传与预览
- 一键生成链接
- 浏览与删除图片
- 图片压缩
- 图片鉴黄
- 图片水印
- API上传
安装
- 访问:master.zip下载最新版ImgURL程序,放到您的站点根目录并解压。
- 访问
http(s)://domain.com/check.php
获取配置信息,并记录下来。 - 修改
config.php
设置你自己的域名和密码,访问http(s)://domain.com/ 即可,就是这么简单。 - 更多设置请参考帮助文档:https://doc.xiaoz.me/docs/imgurl
安全设置
- 配置完毕后测试功能没问题,请删除根目录的
check.php
- Apache默认已经通过
.htaccess
文件来屏蔽数据库下载 - Nginx用户请在server段内添加如下配置,并重启Nginx
location ~* \.(db3)$ {
deny all;
}
Demo
- http://test.imgurl.org/ ,账号:
xiaoz
,密码:xiaoz.me
联系我
- Blog:https://www.xiaoz.me/
- QQ:337003006