Skip to content

Commit

Permalink
Added configs
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Jan 4, 2017
1 parent 9793a97 commit 1124d97
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
16 changes: 15 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"homepage": "http://hiqdev.com/"
}
],
"require": {
"hiqdev/hipanel-core": "<2.0 || dev-master"
},
"require-dev": {
"hiqdev/hidev-php": "<2.0 || dev-master",
"hiqdev/hidev-hiqdev": "<2.0 || dev-master"
Expand All @@ -50,5 +53,16 @@
"psr-4": {
"hipanel\\modules\\mailing\\": "src"
}
}
},
"extra": {
"config-plugin": {
"hisite": "src/config/hisite.php"
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
]
}
33 changes: 33 additions & 0 deletions src/config/hisite.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

/*
* Finance module for HiPanel
*
* @link https://github.com/hiqdev/hipanel-module-finance
* @package hipanel-module-finance
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
*/

return [
'aliases' => [
'@mailing' => '/mailing',
],
'modules' => [
'mailing' => [
'class' => \hipanel\modules\mailing\Module::class,
],
],
'components' => [
'i18n' => [
'translations' => [
'hipanel:mailing' => [
'class' => \yii\i18n\PhpMessageSource::class,
'basePath' => '@hipanel/modules/mailing/messages',
],
],
],
],
'container' => [
],
];

0 comments on commit 1124d97

Please sign in to comment.