From e38013f79153730c98973e70c7c4b680696de363 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Fri, 17 Feb 2017 16:07:10 +0100
Subject: [PATCH] Changed ISPConfig update, newsfeed and version URL to https.

---
 install/tpl/system.ini.master         | 6 +++---
 interface/web/dashboard/dashboard.php | 2 +-
 server/scripts/update_stable.sh       | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/install/tpl/system.ini.master b/install/tpl/system.ini.master
index 81b33374b3..f66ba3414c 100644
--- a/install/tpl/system.ini.master
+++ b/install/tpl/system.ini.master
@@ -43,9 +43,9 @@ new_domain_html=Please contact our support to create a new domain for you.
 company_name=
 custom_login_text=
 custom_login_link=
-dashboard_atom_url_admin=http://www.ispconfig.org/atom
-dashboard_atom_url_reseller=http://www.ispconfig.org/atom
-dashboard_atom_url_client=http://www.ispconfig.org/atom
+dashboard_atom_url_admin=https://www.ispconfig.org/atom
+dashboard_atom_url_reseller=https://www.ispconfig.org/atom
+dashboard_atom_url_client=https://www.ispconfig.org/atom
 monitor_key=
 tab_change_discard=n
 tab_change_warning=n
diff --git a/interface/web/dashboard/dashboard.php b/interface/web/dashboard/dashboard.php
index 4db446eb84..727a359fe0 100644
--- a/interface/web/dashboard/dashboard.php
+++ b/interface/web/dashboard/dashboard.php
@@ -121,7 +121,7 @@ if(isset($_SESSION['show_error_msg'])) {
 */
 if($_SESSION["s"]["user"]["typ"] == 'admin') {
 	if(!isset($_SESSION['s']['new_ispconfig_version'])) {
-		$new_version = @file_get_contents('http://www.ispconfig.org/downloads/ispconfig3_version.txt');
+		$new_version = @file_get_contents('https://www.ispconfig.org/downloads/ispconfig3_version.txt');
 		$_SESSION['s']['new_ispconfig_version'] = trim($new_version);
 	}
 	$v1 = ISPC_APP_VERSION;
diff --git a/server/scripts/update_stable.sh b/server/scripts/update_stable.sh
index 1ff4cdcfe7..854731077e 100644
--- a/server/scripts/update_stable.sh
+++ b/server/scripts/update_stable.sh
@@ -31,7 +31,7 @@ then
         exit 1
     }
 
-    wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
+    wget https://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
     if [ -f ISPConfig-3-stable.tar.gz ]
     then
         tar xvfz ISPConfig-3-stable.tar.gz
-- 
GitLab