Files
plugins/DownloadFile/README.md
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

22 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# [DownloadFile](https://dt27.org/php/DownloadFile-for-Typecho/)
**Typecho 文件下载插件,使下载的文件保持上传时的文件名。**
![DownloadFile](https://o46i15605.qnssl.com/_image/2016-05-26 09-31-51.jpg)
* 不修改数据库,不修改上传的文件,仅修改文章内附件连接。
* 仅对新上传的文件起作用。
* 旧文件需在修改文章页面点击附件中的文件重新插入新下载链接。
* 插件禁用后会导致启用插件期间已发布文章中的文件无法下载,进入修改文章页面点击附件中的文件重新插入下载链接即可恢复。
## Typecho 插件安装及使用
0. **插件更新升级时,请先禁用插件后再上传**
1. [点此](https://github.com/DT27/DownloadFile/archive/master.zip)下载插件
2. 将下载的文件解压,文件夹重命名为`DownloadFile`上传到Typecho`usr/plugins/`目录下
3. 登陆后台,在`控制台`下拉菜单中点击`插件`进入`插件管理`
4. 找到`DownloadFile`,点击`启用`
5. 根据需要更新设置
## License
> Copyright © 2016 [DT27](https://dt27.org)
> License: [GNU General Public License v3.0](https://github.com/DT27/DownloadFile/blob/master/LICENSE.txt)