summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-09-03 17:30:16 +0200
committerJulius Härtl <jus@bitgrid.net>2017-09-03 17:32:41 +0200
commitb09ce7011776a47acf06d2323b8a2b712925693b (patch)
tree2562518a4f4aba50ebb776e5a6b0631abd73404c
parent0f71e3fba2fff6c946f844ba421a729720775367 (diff)
downloadnextcloud-server-b09ce7011776a47acf06d2323b8a2b712925693b.tar.gz
nextcloud-server-b09ce7011776a47acf06d2323b8a2b712925693b.zip
Rebuild SCSS files if frontend controller value changes
fixes #6271
-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;
}
}