From 98bdef8d83bcc8e43560b735a9a479c981a3b24e Mon Sep 17 00:00:00 2001 From: "Felix A. Epp" Date: Thu, 8 Dec 2016 12:40:52 +0100 Subject: [PATCH] Cahnge URL for desktop clients directly to pop-up by adding `/#install-clients` to the URL Signed-off-by: Felix A. Epp --- config/config.sample.php | 2 +- lib/private/legacy/defaults.php | 2 +- themes/example/defaults.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.sample.php b/config/config.sample.php index 2722865c8e..8b714a1763 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -678,7 +678,7 @@ $CONFIG = array( * seen in the first-run wizard and on Personal pages. */ 'customclient_desktop' => - 'https://nextcloud.com/install/', + 'https://nextcloud.com/install/#install-clients', 'customclient_android' => 'https://play.google.com/store/apps/details?id=com.nextcloud.client', 'customclient_ios' => diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php index 036617ba5f..ea41d80076 100644 --- a/lib/private/legacy/defaults.php +++ b/lib/private/legacy/defaults.php @@ -55,7 +55,7 @@ class OC_Defaults { $this->defaultName = 'Nextcloud'; /* short name, used when referring to the software */ $this->defaultTitle = 'Nextcloud'; /* can be a longer name, for titles */ $this->defaultBaseUrl = 'https://nextcloud.com'; - $this->defaultSyncClientUrl = 'https://nextcloud.com/install'; + $this->defaultSyncClientUrl = 'https://nextcloud.com/install/#install-clients'; $this->defaultiOSClientUrl = 'https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8'; $this->defaultiTunesAppId = '1125420102'; $this->defaultAndroidClientUrl = 'https://play.google.com/store/apps/details?id=com.nextcloud.client'; diff --git a/themes/example/defaults.php b/themes/example/defaults.php index 346d510f62..25ec350ed1 100644 --- a/themes/example/defaults.php +++ b/themes/example/defaults.php @@ -33,7 +33,7 @@ class OC_Theme { * @return string URL */ public function getSyncClientUrl() { - return 'https://nextcloud.com/install'; + return 'https://nextcloud.com/install/#install-clients'; } /**