include core version into js/css version tag - fixes #13702

This commit is contained in:
Thomas Müller 2015-02-02 12:52:33 +01:00
parent 359abca50c
commit 24daee836a
1 changed files with 4 additions and 2 deletions

View File

@ -92,7 +92,9 @@ class OC_TemplateLayout extends OC_Template {
if(empty(self::$versionHash)) {
self::$versionHash = md5(implode(',', OC_App::getAppVersions()));
$v = OC_App::getAppVersions();
$v['core'] = implode('.', \OC_Util::getVersion());
self::$versionHash = md5(implode(',', $v));
}
$useAssetPipeline = self::isAssetPipelineEnabled();