Skip to content

Latest commit

 

History

History
 
 

CosForTypecho

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

CosForTypecho

CosForTypecho是基于Typecho的一个支持文件附件上传、修改和删除功能的插件。(支持Typecho 1.x版本)

插件功能

  1. 支持基本的上传、修改、删除操作;
  2. 支持腾讯云COS自定义域名。(COS目前仅支持通过CDN的方式开通HTTPS支持)

注意事项

  1. 在腾讯云控制台 个人API密钥 页面里获取 APPID、SecretId、SecretKey内容;
  2. 插件会替换所有之前上传的文件的链接,若启用插件前存在已上传的数据,请自行将其上传至COS相同目录中以保证正常显示;同时,禁用插件也会导致链接恢复,也请自行将数据下载至相同目录中;
  3. 插件不会验证配置的正确性,请自行确认配置信息正确,否则不能正常使用。

更新日志

  • 2018-08-08: 升级COS-PHP-SDK,使用phar包
  • 2018-04-05: 首次发布,支持Typecho 1.x版本

开源许可

The MIT License (MIT)

Copyright (c) 2014 Hugh Jiang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.