Merge pull request #6352 from nextcloud/scss-rebuild-frontend-controller
Rebuild SCSS files if frontend controller value changes
This commit is contained in:
commit
ad5a298570
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue