From b09ce7011776a47acf06d2323b8a2b712925693b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Sun, 3 Sep 2017 17:30:16 +0200 Subject: [PATCH] Rebuild SCSS files if frontend controller value changes fixes #6271 --- lib/private/Template/SCSSCacher.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php index fe5a095c77..8ecbb9588a 100644 --- a/lib/private/Template/SCSSCacher.php +++ b/lib/private/Template/SCSSCacher.php @@ -303,6 +303,7 @@ class SCSSCacher { * @return string */ private function prependBaseurlPrefix($cssFile) { - return md5($this->urlGenerator->getBaseUrl()) . '-' . $cssFile; + $frontendController = ($this->config->getSystemValue('htaccess.IgnoreFrontController', false) === true || getenv('front_controller_active') === 'true'); + return md5($this->urlGenerator->getBaseUrl() . $frontendController) . '-' . $cssFile; } }