diff options
-rw-r--r-- | lib/private/TemplateLayout.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 64d21186f69..d7249a44293 100644 --- a/lib/private/TemplateLayout.php +++ b/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; } |