Skip to content

Commit 7e7ed6e

Browse files
author
Thom Pol
committed
Update ISPConfig download url
1 parent 39bf4b2 commit 7e7ed6e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

interface/web/dashboard/dashboard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
*/
122122
if($_SESSION["s"]["user"]["typ"] == 'admin') {
123123
if(!isset($_SESSION['s']['new_ispconfig_version'])) {
124-
$new_version = @file_get_contents('https://www.ispconfig.org/downloads/ispconfig3_version.txt');
124+
$new_version = @file_get_contents('https://download.ispconfig.org/ispconfig3_version.txt');
125125
$_SESSION['s']['new_ispconfig_version'] = trim($new_version);
126126
}
127127
$v1 = ISPC_APP_VERSION;

server/mods-available/remoteaction_core_module.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ private function _doIspCUpdate($action) {
201201
/*
202202
* Get the version-number of the newest version
203203
*/
204-
$new_version = @file_get_contents('https://www.ispconfig.org/downloads/ispconfig3_version.txt');
204+
$new_version = @file_get_contents('https://download.ispconfig.org/ispconfig3_version.txt');
205205
$new_version = trim($new_version);
206206

207207
/*
@@ -217,7 +217,7 @@ private function _doIspCUpdate($action) {
217217
exec("rm /tmp/ispconfig3_install -R");
218218

219219
/* get the newest version */
220-
$app->system->exec_safe("wget ?", "https://www.ispconfig.org/downloads/ISPConfig-" . $new_version . ".tar.gz");
220+
$app->system->exec_safe("wget ?", "https://download.ispconfig.org/ISPConfig-" . $new_version . ".tar.gz");
221221

222222
/* extract the files */
223223
$app->system->exec_safe("tar xvfz ?", "ISPConfig-" . $new_version . ".tar.gz");

server/scripts/ispconfig_patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,13 @@ if($patch_id == '') {
127127
die();
128128
}
129129

130-
$patch_data = @file_get_contents('https://ispconfig.org/downloads/patches/' . $patch_id . '.diff');
130+
$patch_data = @file_get_contents('https://download.ispconfig.org/patches/' . $patch_id . '.diff');
131131
if(!$patch_data) {
132132
swriteln("Patch with id " . $patch_id . " does not exist.\n");
133133
die();
134134
}
135135

136-
$patch_text = @file_get_contents('https://ispconfig.org/downloads/patches/' . $patch_id . '.txt');
136+
$patch_text = @file_get_contents('https://download.ispconfig.org/patches/' . $patch_id . '.txt');
137137
if($patch_text) {
138138
if($auto) {
139139
$ok = 'y';

server/scripts/ispconfig_update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function simple_query($query, $answers, $default)
9191
$method = simple_query('Select update method', array('stable', 'nightly', 'git-develop'), 'stable');
9292

9393
if($method == 'stable') {
94-
$new_version = @file_get_contents('https://www.ispconfig.org/downloads/ispconfig3_version.txt') or die('Unable to retrieve version file.');
94+
$new_version = @file_get_contents('https://download.ispconfig.org/ispconfig3_version.txt') or die('Unable to retrieve version file.');
9595
$new_version = trim($new_version);
9696
if(version_compare($new_version, ISPC_APP_VERSION, '<=') && !in_array('--force', $argv, true)) {
9797
echo "There are no updates available for ISPConfig ".ISPC_APP_VERSION."\n";

server/scripts/update_runner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ SOURCE=$1
2222
URL=""
2323

2424
if [[ "$SOURCE" == "stable" ]] ; then
25-
URL="https://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz"
25+
URL="https://download.ispconfig.org/ISPConfig-3-stable.tar.gz"
2626
elif [[ "$SOURCE" == "nightly" ]] ; then
27-
URL="https://www.ispconfig.org/downloads/ISPConfig-3-nightly.tar.gz"
27+
URL="https://download.ispconfig.org/ISPConfig-3-nightly.tar.gz"
2828
elif [[ "$SOURCE" == "git-develop" ]] ; then
2929
URL="https://git.ispconfig.org/ispconfig/ispconfig3/-/archive/develop/ispconfig3-develop.tar.gz"
3030
else

0 commit comments

Comments
 (0)