From da98f90d92b49687a93ce972fa89e663f72e2339 Mon Sep 17 00:00:00 2001 From: yarik Date: Wed, 5 Apr 2017 19:37:59 +0300 Subject: [PATCH] Models and controllers generated --- common/config/main.php | 6 +++++- composer.json | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/common/config/main.php b/common/config/main.php index c8adc95..884a6b2 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -24,7 +24,11 @@ 'translations' => [ 'core' => [ 'class' => 'yii\i18n\PhpMessageSource', - 'basePath' => '@artbox/core/messages', + 'basePath' => '@artbox/catalog/messages', + ], + 'catalog' => [ + 'class' => 'yii\i18n\PhpMessageSource', + 'basePath' => '@artbox/catalog/messages', ], 'app' => [ 'class' => 'yii\i18n\PhpMessageSource', diff --git a/composer.json b/composer.json index c9d14e9..41f5dbd 100755 --- a/composer.json +++ b/composer.json @@ -55,7 +55,8 @@ ], "autoload": { "psr-4": { - "artbox\\core\\": "artweb/artbox-core/" + "artbox\\core\\": "artweb/artbox-core/", + "artbox\\catalog\\": "artweb/artbox-catalog/" } } } -- libgit2 0.21.4