Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #180 from vincentchalamon/master
Browse files Browse the repository at this point in the history
Fix #179
  • Loading branch information
PedroTroller authored Aug 5, 2016
2 parents 6edc3bd + c778cf0 commit 07e7c30
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ public function process(ContainerBuilder $container)
$this->loadFileFromParameter($container, 'friendly.symfony_kernel.bootstrap');
$this->loadFileFromParameter($container, 'friendly.symfony_kernel.path');

if (null !== $class = $this->getKernelClass($container)) {
if ($container->has('symfony2_extension.kernel')) {
$container->setAlias('friendly.symfony.kernel', 'symfony2_extension.kernel');
} elseif (null !== $class = $this->getKernelClass($container)) {
$definition = new Definition($class);
$definition
->addArgument($container->getParameter('friendly.symfony_kernel.env'))
Expand Down

0 comments on commit 07e7c30

Please sign in to comment.