mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Use theming cachebuster for server resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
68a63ad3f3
commit
1c54463853
1 changed files with 3 additions and 1 deletions
|
|
@ -197,7 +197,9 @@ class TemplateLayout extends \OC_Template {
|
|||
// allows chrome workspace mapping in debug mode
|
||||
return "";
|
||||
}
|
||||
|
||||
if ($this->config->getSystemValue('installed', false) && \OC::$server->getAppManager()->isInstalled('theming')) {
|
||||
return '?v=' . self::$versionHash . '-' . $this->config->getAppValue('theming', 'cachebuster', '0');
|
||||
}
|
||||
return '?v=' . self::$versionHash;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue