Skip to content

Commit ce39f5d

Browse files
authored
Update README.md
1 parent 4feb5f8 commit ce39f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ php sdk 接口文档,详见https://cloud.tencent.com/document/product/436/1226
7979

8080
### 配置文件
8181
```php
82-
$cosClient = new Qcloud\Cos\Client(array('region' => '<Region>',
82+
$cosClient = new Qcloud\Cos\Client(array('region' => '<Region>',
8383
'credentials'=> array(
8484
'secretId' => '<SecretId>',
8585
'secretKey' => '<SecretKey>')));
@@ -88,7 +88,7 @@ $cosClient = new Qcloud\Cos\Client(array('region' => '<Region>',
8888
若您使用 [临时密钥](https://cloud.tencent.com/document/product/436/14048) 初始化,请用下面方式创建实例。
8989

9090
```
91-
$cosClient = new Qcloud\Cos\Client(array('region' => getenv('COS_REGION'),
91+
$cosClient = new Qcloud\Cos\Client(array('region' => '<Region>',
9292
'credentials'=> array(
9393
'secretId' => '<SecretId>',
9494
'secretKey' => '<SecretKey>',

0 commit comments

Comments
 (0)