Skip to content

Commit 10a7403

Browse files
authored
Update README.md
1 parent b56aaff commit 10a7403

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ composer install
3232
```
3333
### 配置文件
3434
```php
35-
#这里请填写cos-autoloader.php该文件所在的相对路径
36-
require(__DIR__ . DIRECTORY_SEPARATOR . 'cos-autoloader.php');
35+
#这里请填写根路径下cos-autoloader.php文件所在的相对路径
36+
require('/path/to/cos-autoloader.php');
37+
#如果使用composer安装,则可以填写composer生成的autoload.php文件的相对路径
38+
#require('/path/to/autoload.php')
3739

3840
$cosClient = new Qcloud\Cos\Client(array('region' => getenv('COS_REGION'),
3941
'credentials'=> array(

0 commit comments

Comments
 (0)