|
@@ -165,6 +165,8 @@ class Response extends SymfonyRespose
|
|
|
$mainMenu = DependencyInjection::create(MainMenu::class)->buildBreadcrumb($controller, $action, []);
|
|
$mainMenu = DependencyInjection::create(MainMenu::class)->buildBreadcrumb($controller, $action, []);
|
|
|
$menu = $mainMenu->getMenu();
|
|
$menu = $mainMenu->getMenu();
|
|
|
|
|
|
|
|
|
|
+ $dnshelper = new DnsHelper;
|
|
|
|
|
+
|
|
|
$addon = ServiceLocator::call(Config::class);
|
|
$addon = ServiceLocator::call(Config::class);
|
|
|
$vars = [
|
|
$vars = [
|
|
|
'assetsURL' => BuildUrl::getAssetsURL(),
|
|
'assetsURL' => BuildUrl::getAssetsURL(),
|
|
@@ -185,7 +187,7 @@ class Response extends SymfonyRespose
|
|
|
'tagImageModule' => $addon->getConfigValue('moduleIcon'),
|
|
'tagImageModule' => $addon->getConfigValue('moduleIcon'),
|
|
|
'isDebug' => (bool)((int)$addon->getConfigValue('debug', "0")),
|
|
'isDebug' => (bool)((int)$addon->getConfigValue('debug', "0")),
|
|
|
'errorPageDetails' => $this->getErrorPageData($responseResolver),
|
|
'errorPageDetails' => $this->getErrorPageData($responseResolver),
|
|
|
- 'dnsvars' => DnsHelper::KerioEmailCheckDNS()
|
|
|
|
|
|
|
+ 'dnsvars' => $dnshelper->KerioEmailCheckDNS()
|
|
|
];
|
|
];
|
|
|
try
|
|
try
|
|
|
{
|
|
{
|