Skip to content

Commit 1baeede

Browse files
committed
Support the lumen applications
1 parent 6bd00db commit 1baeede

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)