Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/web-installer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-11-06 03:03:34 +0300
committerGitHub <noreply@github.com>2019-11-06 03:03:34 +0300
commit98ce16bb42a01f426d4bd254c69d500d2b1fbe6c (patch)
tree34a0e4cd89723a82782f25a19c9fa83b01cb063c
parent25da58240d58a68cd0eaf516d60106a6ef28d07c (diff)
parent4e2ac340fe959ef0642044e68799cf1a79a511f1 (diff)
Merge pull request #36 from gratuxri/always-latest
use latest version of nextcloud
-rw-r--r--setup-nextcloud.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup-nextcloud.php b/setup-nextcloud.php
index 78786b0..613290f 100644
--- a/setup-nextcloud.php
+++ b/setup-nextcloud.php
@@ -27,8 +27,8 @@
* Please copy this file into your webserver root and open it with a browser. The setup wizard checks the dependency, downloads the newest Nextcloud version, unpacks it and redirects to the Nextcloud first run wizard.
*/
-// Nextcloud version
-define('NC_VERSION', '16.0.5');
+// Nextcloud version with possible values from https://download.nextcloud.com/server/releases/*.zip
+define('NC_VERSION', 'latest');
// init
ob_start();
@@ -144,7 +144,7 @@ class Setup {
// downloading latest release
if (!file_exists('nc.zip')) {
- $error .= Setup::getFile('https://download.nextcloud.com/server/releases/nextcloud-'.NC_VERSION.'.zip','nc.zip');
+ $error .= Setup::getFile('https://download.nextcloud.com/server/releases/'.NC_VERSION.'.zip','nc.zip');
}
// unpacking into nextcloud folder
@@ -684,7 +684,7 @@ input[type="submit"] img, input[type="button"] img, button img, .button img { cu
* Shows the welcome screen of the setup wizard
*/
static public function showWelcome() {
- $txt='Welcome to the Setup Wizard for<br /><b>Nextcloud '.NC_VERSION.'</b>!<br /><br />This wizard will:<br />1. Check the server dependencies<br />2. Download Nextcloud<br />3. Install Nextcloud in a few simple steps';
+ $txt='Welcome to the Setup Wizard for<br /><b>Nextcloud</b>!<br /><br />This wizard will:<br />1. Check the server dependencies<br />2. Download Nextcloud<br />3. Install Nextcloud in a few simple steps';
Setup::showContent('Setup Wizard',$txt,1);
}