Merge pull request #471 from TonisOrmisson/fix-bootstrap-order
fixed translations not initialized
This commit is contained in:
@ -46,8 +46,8 @@ class Bootstrap implements BootstrapInterface
|
|||||||
{
|
{
|
||||||
if ($app->hasModule('user') && $app->getModule('user') instanceof Module) {
|
if ($app->hasModule('user') && $app->getModule('user') instanceof Module) {
|
||||||
$map = $this->buildClassMap($app->getModule('user')->classMap);
|
$map = $this->buildClassMap($app->getModule('user')->classMap);
|
||||||
$this->initContainer($app, $map);
|
|
||||||
$this->initTranslations($app);
|
$this->initTranslations($app);
|
||||||
|
$this->initContainer($app, $map);
|
||||||
$this->initMailServiceConfiguration($app, $app->getModule('user'));
|
$this->initMailServiceConfiguration($app, $app->getModule('user'));
|
||||||
|
|
||||||
if ($app instanceof WebApplication) {
|
if ($app instanceof WebApplication) {
|
||||||
|
|||||||
Reference in New Issue
Block a user