Merge pull request #3819 from Icinga/feature/support-relative-links-with-a-base-path-2916
Support relative links with a base path
This commit is contained in:
commit
a527a80c93
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue