Permalink
Browse files

Add NetgenSiteBundle for default logo check

  • Loading branch information...
emodric committed Sep 11, 2018
1 parent 6deeef4 commit 951bebb6dd1bc2c2003f5676907a2c56ef858e78
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 951bebb

Please sign in to comment.