diff --git a/is_themecore/is_themecore/is_themecore.php b/is_themecore/is_themecore/is_themecore.php index 35026ee..1124d9e 100644 --- a/is_themecore/is_themecore/is_themecore.php +++ b/is_themecore/is_themecore/is_themecore.php @@ -182,11 +182,8 @@ class Is_themecore extends Module /** @var UrlGeneratorInterface */ $router = $container->get('router'); - header('Location: https://houtendiershop.com'. $router->generate('is_themecore_module_settings')); + Tools::redirectAdmin($router->generate('is_themecore_module_settings')); exit; - - /*Tools::redirectAdmin($router->generate('is_themecore_module_settings')); - die();*/ } }