Use theming cachebuster for server resources

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/3531/head
Julius Härtl 8 years ago committed by Joas Schilling
parent 68a63ad3f3
commit 1c54463853
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
  1. 4
      lib/private/TemplateLayout.php

@ -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…
Cancel
Save