Use theming cachebuster for server resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
68a63ad3f3
commit
1c54463853
|
@ -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 New Issue