Configured company footer
', 'logo_icon' => '/configured-icon.png', 'data' => []])); $configuredHtml = ob_get_clean(); if (!str_contains($configuredHtml, 'Configured company footer
') || str_contains($configuredHtml, '鲁ICP备18006241号-8')) { throw new RuntimeException('Configured footer must take precedence without duplicate company details'); } if (!str_contains($configuredHtml, 'href="/configured-icon.png"')) { throw new RuntimeException('Configured site icon must retain precedence'); } ob_start(); $template->fetch('index/screen', []); $screenHtml = ob_get_clean(); if (!str_contains($screenHtml, 'href="' . url('home/detail/index') . '"')) { throw new RuntimeException('Display page must link to the current EVUS registration route'); } foreach (['detail/index' => 'detail/index', 'lookup/index' => 'lookup/index', 'news/detail' => 'news/index', 'esta/index' => 'esta/index', 'user/order_esta' => 'user/order'] as $current => $active) { ob_start(); $template->fetch('public/home_menu', array_replace($vars, ['menu_url' => $current])); $navigation = ob_get_clean(); preg_match('~