File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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>',
You can’t perform that action at this time.
0 commit comments