From 23776152ebc24237e2261bfcf8bc2616f265fd98 Mon Sep 17 00:00:00 2001 From: Johannes Meyer <johannes.meyer@icinga.com> Date: Thu, 6 Jun 2019 08:16:12 +0200 Subject: [PATCH] layout: Add base path refs #2916 --- application/layouts/scripts/layout.phtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/layouts/scripts/layout.phtml b/application/layouts/scripts/layout.phtml index 44340da35..42dcc1ede 100644 --- a/application/layouts/scripts/layout.phtml +++ b/application/layouts/scripts/layout.phtml @@ -34,8 +34,9 @@ $innerLayoutScript = $this->layout()->innerLayout . '.phtml'; <meta name="apple-mobile-web-app-title" content="Icinga"> <link rel="mask-icon" href="<?= $this->baseUrl('img/website-icon.svg') ?>" color="#0096BF"> <?php if ($isIframe): ?> - <base target="_parent"/> + <base target="_parent"> <?php else: ?> + <base href="<?= $this->baseUrl(); ?>/"> <script type="text/javascript"> (function() { var html = document.getElementsByTagName('html')[0];