@Infidel: du könntest mal folgenden Workaround probieren:
1. Erzeuge eine Datei namens
fe_page.html5 im
/templates Verzeichnis.
2. Füge folgenden Inhalt ein:
PHP-Code:
<?php $this->extend('fe_page'); ?>
<?php $this->block('head'); ?>
<meta charset="<?= $this->charset ?>">
<title><?= $this->title ?></title>
<base href="{{env::path|uncached}}">
<?php $this->block('meta'); ?>
<meta name="robots" content="<?= $this->robots ?>">
<meta name="description" content="<?= $this->description ?>">
<meta name="keywords" content="<?= $this->keywords ?>">
<meta name="generator" content="Contao Open Source CMS">
<?php $this->endblock(); ?>
<?= $this->viewport ?>
<?= $this->framework ?>
<?= $this->stylesheets ?>
<?= $this->mooScripts ?>
<?= $this->head ?>
<?php $this->block('html5shiv'); ?>
<!--[if lt IE 9]><script src="<?= TL_ASSETS_URL ?>assets/html5shiv/<?= $GLOBALS['TL_ASSETS']['HTML5SHIV'] ?>/html5shiv-printshiv.min.js"></script><![endif]-->
<?php $this->endblock(); ?>
<?php $this->endblock(); ?>
3. Lösche den Seiten Cache.
Diese Änderung hat zur Auswirkung, dass zumindest der <base href> immer der richtige ist. Allerdings könnte das immer noch nicht für alle Situationen reichen.
Lesezeichen