Skip to content

Commit

Permalink
Update QiniuFilesystemServiceProvider.php
Browse files Browse the repository at this point in the history
Fix missing key
  • Loading branch information
zgldh authored Jul 12, 2017
1 parent 6ee9ac2 commit 1651af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QiniuFilesystemServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function ($app, $config) {
$config['secret_key'],
$config['bucket'],
$domains,
$config['notify_url'] ? $config['notify_url'] : null,
$config['access'] ? $config['access'] : 'public'
isset($config['notify_url']) ? $config['notify_url'] : null,
isset($config['access']) ? $config['access'] : 'public'
);
$file_system = new Filesystem($qiniu_adapter);
$file_system->addPlugin(new PrivateDownloadUrl());
Expand Down

0 comments on commit 1651af3

Please sign in to comment.