Add proper versioning for doc URL

As per 8.1 we have docs for minor versions as well so we need to link to `8.1` here instead to `8.0`.

Fixes https://github.com/owncloud/core/issues/16002
This commit is contained in:
Lukas Reschke 2015-05-02 21:05:11 +02:00
parent 6528a17ea3
commit 6738c17cb5
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class OC_Defaults {
$this->defaultiTunesAppId = '543672169';
$this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.owncloud.android';
$this->defaultDocBaseUrl = 'https://doc.owncloud.org';
$this->defaultDocVersion = $version[0] . '.0'; // used to generate doc links
$this->defaultDocVersion = $version[0] . '.' . $version[1]; // used to generate doc links
$this->defaultSlogan = $this->l->t('web services under your control');
$this->defaultLogoClaim = '';
$this->defaultMailHeaderColor = '#1d2d44'; /* header color of mail notifications */