Skip to content

Commit

Permalink
Merge pull request #60 from xcaptain/patch-1
Browse files Browse the repository at this point in the history
手动指明Storage命名空间
  • Loading branch information
zgldh authored May 3, 2018
2 parents 057850d + 6e2ea3b commit ef0df2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/QiniuFilesystemServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php namespace zgldh\QiniuStorage;

use Illuminate\Support\Facades\Storage;
use League\Flysystem\Filesystem;
use Illuminate\Support\ServiceProvider;
use zgldh\QiniuStorage\Plugins\DownloadUrl;
Expand All @@ -23,7 +24,7 @@ class QiniuFilesystemServiceProvider extends ServiceProvider

public function boot()
{
\Storage::extend(
Storage::extend(
'qiniu',
function ($app, $config) {
if (isset($config['domains'])) {
Expand Down

0 comments on commit ef0df2a

Please sign in to comment.