mirror of
https://github.com/nextcloud/server.git
synced 2026-05-21 17:45:40 -04:00
Merge pull request #13209 from nextcloud/backport/13185/stable15
[stable15] SCSS cache buster is a combination of apps/theming/scc_vars
This commit is contained in:
commit
5975f40f14
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