@@ -46,7 +46,9 @@ |
||
46 | 46 | $endPoint = $config['endpoint']; // 默认作为外部节点 |
47 | 47 | $epInternal= $isCname?$cdnDomain:(empty($config['endpoint_internal']) ? $endPoint : $config['endpoint_internal']); // 内部节点 |
48 | 48 | |
49 | - if($debug) Log::debug('OSS config:', $config); |
|
49 | + if($debug) { |
|
50 | + Log::debug('OSS config:', $config); |
|
51 | + } |
|
50 | 52 | |
51 | 53 | $client = new OssClient($accessId, $accessKey, $epInternal, $isCname, $securityToken); |
52 | 54 | $adapter = new AliOssAdapter($client, $bucket, $endPoint, $ssl, $isCname, $debug, $cdnDomain); |