|
@@ -47,7 +47,9 @@ |
|
|
block discarded – undo |
|
47
|
47
|
// $epInternal= $isCname?$cdnDomain:(empty($config['endpoint_internal']) ? $endPoint : $config['endpoint_internal']); // 内部节点 |
|
48
|
48
|
$epInternal= (empty($config['endpoint_internal']) ? $endPoint : $config['endpoint_internal']); // 内部节点 |
|
49
|
49
|
|
|
50
|
|
- if($debug) Log::debug('OSS config:', $config); |
|
|
50
|
+ if($debug) { |
|
|
51
|
+ Log::debug('OSS config:', $config); |
|
|
52
|
+ } |
|
51
|
53
|
|
|
52
|
54
|
$client = new OssClient($accessId, $accessKey, $epInternal, $isCname, $securityToken); |
|
53
|
55
|
$adapter = new AliOssAdapter($client, $bucket, $endPoint, $ssl, $isCname, $debug, $cdnDomain); |
Please login to merge, or discard this patch.