Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use theming cachebuster for server resources
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr authored and nickvergessen committed Apr 25, 2017
commit 1c54463853e7bcbe857b6a874cbadd48a77bcf89
4 changes: 3 additions & 1 deletion lib/private/TemplateLayout.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ protected function getVersionHashSuffix() {
// 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;
}

Expand Down