Merge pull request #13822 from owncloud/include-core-version-in-js-version-tag
include core version into js/css version tag
This commit is contained in:
commit
92bc1b44d5
|
@ -92,7 +92,9 @@ class OC_TemplateLayout extends OC_Template {
|
||||||
|
|
||||||
|
|
||||||
if(empty(self::$versionHash)) {
|
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();
|
$useAssetPipeline = self::isAssetPipelineEnabled();
|
||||||
|
|
Loading…
Reference in New Issue