Permalink
Browse files

Merge branch '2.3-release'

  • Loading branch information...
emodric committed Sep 11, 2018
2 parents a5b2bc8 + 951bebb commit 74aff5f657860cc9e95f78da88429f092d1a8ee8
Showing with 4 additions and 2 deletions.
  1. +4 −2 bundle/DependencyInjection/NetgenAdminUIExtension.php
@@ -50,8 +50,10 @@ public function load(array $configs, ContainerBuilder $container)
}
$logoType = $container->getParameter('netgen_admin_ui.logo_type');
if ($logoType === 'default' && class_exists('Netgen\Bundle\MoreBundle\NetgenMoreBundle')) {
$container->setParameter('netgen_admin_ui.logo_type', 'ngadminui');
if ($logoType === 'default') {
if (class_exists('Netgen\Bundle\SiteBundle\NetgenSiteBundle') || class_exists('Netgen\Bundle\MoreBundle\NetgenMoreBundle')) {
$container->setParameter('netgen_admin_ui.logo_type', 'ngadminui');
}
}
}

0 comments on commit 74aff5f

Please sign in to comment.