aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/SCSSCacher.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Template/SCSSCacher.php')
-rw-r--r--lib/private/Template/SCSSCacher.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Template/SCSSCacher.php b/lib/private/Template/SCSSCacher.php
index fe5a095c773..8ecbb9588a3 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;
}
}