Setting missing default paths under BC layer
This commit is contained in:
parent
80670fc0a7
commit
18ac673dc2
@ -144,6 +144,8 @@ EOF
|
|||||||
$this->translator = $this->getContainer()->get('translator');
|
$this->translator = $this->getContainer()->get('translator');
|
||||||
$this->reader = $this->getContainer()->get('translation.reader');
|
$this->reader = $this->getContainer()->get('translation.reader');
|
||||||
$this->extractor = $this->getContainer()->get('translation.extractor');
|
$this->extractor = $this->getContainer()->get('translation.extractor');
|
||||||
|
$this->defaultTransPath = $this->getContainer()->getParameter('translator.default_path');
|
||||||
|
$this->defaultViewsPath = $this->getContainer()->getParameter('twig.default_path');
|
||||||
}
|
}
|
||||||
|
|
||||||
$io = new SymfonyStyle($input, $output);
|
$io = new SymfonyStyle($input, $output);
|
||||||
|
@ -138,6 +138,8 @@ EOF
|
|||||||
$this->reader = $this->getContainer()->get('translation.reader');
|
$this->reader = $this->getContainer()->get('translation.reader');
|
||||||
$this->extractor = $this->getContainer()->get('translation.extractor');
|
$this->extractor = $this->getContainer()->get('translation.extractor');
|
||||||
$this->defaultLocale = $this->getContainer()->getParameter('kernel.default_locale');
|
$this->defaultLocale = $this->getContainer()->getParameter('kernel.default_locale');
|
||||||
|
$this->defaultTransPath = $this->getContainer()->getParameter('translator.default_path');
|
||||||
|
$this->defaultViewsPath = $this->getContainer()->getParameter('twig.default_path');
|
||||||
}
|
}
|
||||||
|
|
||||||
$io = new SymfonyStyle($input, $output);
|
$io = new SymfonyStyle($input, $output);
|
||||||
|
Reference in New Issue
Block a user