Browse Source
Use theming cachebuster for server resources
Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/3531/head
Julius Härtl
9 years ago
committed by
Joas Schilling
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
3 additions and
1 deletions
-
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; |
|
|
|
} |
|
|
|
|
|
|
|
|