Merge pull request #13185 from nextcloud/fix/proper_version_theming_scss
SCSS cache buster is a combination of apps/theming/scc_vars
This commit is contained in:
commit
a8f611093a
1 changed files with 8 additions and 1 deletions
|
@ -210,7 +210,14 @@ class TemplateLayout extends \OC_Template {
|
|||
if (substr($file, -strlen('print.css')) === 'print.css') {
|
||||
$this->append( 'printcssfiles', $web.'/'.$file . $this->getVersionHashSuffix() );
|
||||
} else {
|
||||
$this->append( 'cssfiles', $web.'/'.$file . $this->getVersionHashSuffix($web, $file) );
|
||||
$suffix = $this->getVersionHashSuffix($web, $file);
|
||||
|
||||
if (strpos($file, '?v=') == false) {
|
||||
$this->append( 'cssfiles', $web.'/'.$file . $suffix);
|
||||
} else {
|
||||
$this->append( 'cssfiles', $web.'/'.$file . '-' . substr($suffix, 3));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue