From 5bb35756dc3988f7d35d50e426bebbe323a5a01d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 27 Apr 2018 20:56:34 -0400 Subject: [PATCH] Update directory URL protocol --- boot.php | 2 +- util/htconfig.vagrant.php | 2 +- view/templates/htconfig.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 1ca8b8d8d..ba12f86d2 100644 --- a/boot.php +++ b/boot.php @@ -1292,7 +1292,7 @@ function get_server() $server = Config::get("system", "directory"); if ($server == "") { - $server = "http://dir.friendica.social"; + $server = "https://dir.friendica.social"; } return($server); diff --git a/util/htconfig.vagrant.php b/util/htconfig.vagrant.php index 9c96687e7..623b587ef 100644 --- a/util/htconfig.vagrant.php +++ b/util/htconfig.vagrant.php @@ -65,7 +65,7 @@ $a->config['system']['no_regfullname'] = true; //$a->config['system']['block_local_dir'] = false; // Location of the global directory -$a->config['system']['directory'] = 'http://dir.friendica.social'; +$a->config['system']['directory'] = 'https://dir.friendica.social'; // turn on friendica's log $a->config['system']['debugging'] = true; diff --git a/view/templates/htconfig.tpl b/view/templates/htconfig.tpl index d72307fb5..1325a6177 100644 --- a/view/templates/htconfig.tpl +++ b/view/templates/htconfig.tpl @@ -107,7 +107,7 @@ $a->config['system']['no_regfullname'] = true; //$a->config['system']['block_local_dir'] = false; // Location of the global directory -$a->config['system']['directory'] = 'http://dir.friendica.social'; +$a->config['system']['directory'] = 'https://dir.friendica.social'; // Authentication cookie lifetime, in days $a->config['system']['auth_cookie_lifetime'] = 7;