diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-09-03 17:30:16 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-09-03 17:32:41 +0200 |
commit | b09ce7011776a47acf06d2323b8a2b712925693b (patch) | |
tree | 2562518a4f4aba50ebb776e5a6b0631abd73404c | |
parent | 0f71e3fba2fff6c946f844ba421a729720775367 (diff) | |
download | nextcloud-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.php | 3 |
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; } } |