Skip to content

Commit 73e8346

Browse files
authored
Merge pull request #16 from qbhy/master
Support the lumen applications
2 parents 6bd00db + 1baeede commit 73e8346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QiniuStorageServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class QiniuStorageServiceProvider extends ServiceProvider
2626
*/
2727
public function boot()
2828
{
29-
Storage::extend('qiniu', function ($app, $config) {
29+
app('filesystem')->extend('qiniu', function ($app, $config) {
3030
$adapter = new QiniuAdapter(
3131
$config['access_key'], $config['secret_key'],
3232
$config['bucket'], $config['domain']

0 commit comments

Comments
 (0)