Skip to content

Commit

Permalink
Update uploader configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Aug 30, 2019
1 parent 526dfea commit c2f1632
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,11 @@
'uploader' => [
'class' => \RazonYang\Yii2\Uploader\Uploader::class,
'host' => 'http://localhost/resources',
'filesystem' => [
'class' => \creocoder\flysystem\LocalFilesystem::class,
'path' => '@webroot/resources',
],
'filesystem' => 'filesystem',
],
'filesystem' => [
'class' => \creocoder\flysystem\LocalFilesystem::class,
'path' => '@webroot/resources',
],
],
'params' => $params,
Expand Down

0 comments on commit c2f1632

Please sign in to comment.