layout: Add base path

refs #2916
This commit is contained in:
Johannes Meyer 2019-06-06 08:16:12 +02:00
parent dbd5e064ff
commit 23776152eb
1 changed files with 2 additions and 1 deletions

View File

@ -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];