Skip to content
Snippets Groups Projects
Commit 3da78c8f authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #21901 from owncloud/fix-setup

Fix setup page
parents 6cb95f4e 2ecc2028
No related branches found
No related tags found
No related merge requests found
......@@ -151,11 +151,14 @@ class TemplateLayout extends \OC_Template {
// Send the language to our layouts
$this->assign('language', \OC_L10N::findLanguage());
if(empty(self::$versionHash)) {
$v = \OC_App::getAppVersions();
$v['core'] = implode('.', \OCP\Util::getVersion());
self::$versionHash = md5(implode(',', $v));
if(\OC::$server->getSystemConfig()->getValue('installed', false)) {
if (empty(self::$versionHash)) {
$v = \OC_App::getAppVersions();
$v['core'] = implode('.', \OCP\Util::getVersion());
self::$versionHash = md5(implode(',', $v));
}
} else {
self::$versionHash = md5('not installed');
}
$useAssetPipeline = self::isAssetPipelineEnabled();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment