Skip to content

Commit

Permalink
Compatible with the lumen
Browse files Browse the repository at this point in the history
  • Loading branch information
alphasnow committed Jun 27, 2022
1 parent d648626 commit ab9ef3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AliyunServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class AliyunServiceProvider extends ServiceProvider
*/
public function register()
{
if ($this->app instanceof \Laravel\Lumen\Application) {
return;
}

$this->registerConfig();
}

Expand Down

0 comments on commit ab9ef3c

Please sign in to comment.