Skip to content

Commit

Permalink
Moved config to root dir, removed empty console config
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Mar 26, 2019
1 parent a147003 commit 6a37533
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 20 deletions.
11 changes: 5 additions & 6 deletions composer.json
Expand Up @@ -61,16 +61,15 @@
},
"extra": {
"config-plugin": {
"defines": "src/config/defines.php",
"params": "src/config/params.php",
"common": "src/config/common.php",
"defines": "config/defines.php",
"params": "config/params.php",
"common": "config/common.php",
"console": [
"$common",
"src/config/console.php"
"$common"
],
"web": [
"$common",
"src/config/web.php"
"config/web.php"
],
"hisite": "$web"
}
Expand Down
2 changes: 1 addition & 1 deletion src/config/common.php → config/common.php
Expand Up @@ -18,7 +18,7 @@
'@vendor/bower' => '@vendor/bower-asset',
'@vendor/npm' => '@vendor/npm-asset',
]),
'basePath' => dirname(__DIR__),
'basePath' => dirname(__DIR__) . '/src',
'viewPath' => '@hisite/views',
'vendorPath' => '@root/vendor',
'runtimePath' => '@root/runtime',
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/config/i18n.php → config/i18n.php
Expand Up @@ -10,8 +10,8 @@

return [
'languages' => ['ru'],
'sourcePath' => dirname(__DIR__),
'messagePath' => dirname(__DIR__) . '/messages',
'sourcePath' => dirname(__DIR__) . '/src',
'messagePath' => dirname(__DIR__) . '/src/messages',
'sort' => true,
'removeUnused' => true,
];
File renamed without changes.
File renamed without changes.
11 changes: 0 additions & 11 deletions src/config/console.php

This file was deleted.

0 comments on commit 6a37533

Please sign in to comment.