针对腾讯云cos v5更新
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
src
.travis.yml
Plugin.php
README.md
composer.json
cos-autoloader-generator.php
cos-autoloader.php
phpunit.xml
sample.php

README.md

cosUploadV5

针对腾讯云cos v5更新

在Plugin.php 148行左右可以修改上传的默认目录: 本插件默认上传目录:$filePath = '/' . date('Y') . '/' . date('m') . '/' . date('d') . '/';

typecho默认上传目录:$filePath = '/' . 'usr' . '/' . 'uploads' . '/' . date('Y') . '/' . date('m') . '/';

修改$filePath变量即可