Skip to content

Commit

Permalink
bug
Browse files Browse the repository at this point in the history
  • Loading branch information
刘俊涛 committed Mar 1, 2017
1 parent 4a8d68c commit ae52056
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions backend/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
'id' => 'app-backend',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'backend\controllers',
'controllerMap'=>[
'upload' => \common\actions\UploadController::className()
],
'components' => [
'request' => [
'csrfParam' => '_csrfBackend'
Expand Down
8 changes: 0 additions & 8 deletions common/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
],*/
],
],
'storage' => [
'class' => 'common\\components\\Storage',
'fs' => [
'class' => 'creocoder\flysystem\LocalFilesystem',
'path' => '@storagePath/upload',
],
'baseUrl' => '@storageUrl/upload'
],
'log' => [
'targets' => [
'db'=>[
Expand Down
3 changes: 0 additions & 3 deletions frontend/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
'id' => 'app-frontend',
'basePath' => dirname(__DIR__),
'controllerNamespace' => 'frontend\controllers',
'controllerMap' => [
'upload' => \common\actions\UploadController::className()
],
'components' => [
'log' => [
'traceLevel' => YII_DEBUG ? 3 : 0,
Expand Down

0 comments on commit ae52056

Please sign in to comment.