Merge pull request #2732 from owncloud/sane_version_param

Add a name to the version parameter
This commit is contained in:
Thomas Tanghus 2013-04-04 14:54:03 -07:00
commit 81a44c3045
1 changed files with 1 additions and 1 deletions

View File

@ -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);