Merge pull request #2732 from owncloud/sane_version_param
Add a name to the version parameter
This commit is contained in:
commit
81a44c3045
|
@ -37,7 +37,7 @@ class OC_TemplateLayout extends OC_Template {
|
||||||
} else {
|
} else {
|
||||||
parent::__construct('core', 'layout.base');
|
parent::__construct('core', 'layout.base');
|
||||||
}
|
}
|
||||||
$versionParameter = '?' . md5(implode(OC_Util::getVersion()));
|
$versionParameter = '?v=' . md5(implode(OC_Util::getVersion()));
|
||||||
// Add the js files
|
// Add the js files
|
||||||
$jsfiles = self::findJavascriptFiles(OC_Util::$scripts);
|
$jsfiles = self::findJavascriptFiles(OC_Util::$scripts);
|
||||||
$this->assign('jsfiles', array(), false);
|
$this->assign('jsfiles', array(), false);
|
||||||
|
|
Loading…
Reference in New Issue