Merge pull request #4941 from MrPetovan/task/4938-update-dir-url-protocol
Update directory URL protocol
This commit is contained in:
commit
2c2d4e5869
2
boot.php
2
boot.php
|
@ -1292,7 +1292,7 @@ function get_server()
|
||||||
$server = Config::get("system", "directory");
|
$server = Config::get("system", "directory");
|
||||||
|
|
||||||
if ($server == "") {
|
if ($server == "") {
|
||||||
$server = "http://dir.friendica.social";
|
$server = "https://dir.friendica.social";
|
||||||
}
|
}
|
||||||
|
|
||||||
return($server);
|
return($server);
|
||||||
|
|
|
@ -65,7 +65,7 @@ $a->config['system']['no_regfullname'] = true;
|
||||||
//$a->config['system']['block_local_dir'] = false;
|
//$a->config['system']['block_local_dir'] = false;
|
||||||
|
|
||||||
// Location of the global directory
|
// 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
|
// turn on friendica's log
|
||||||
$a->config['system']['debugging'] = true;
|
$a->config['system']['debugging'] = true;
|
||||||
|
|
|
@ -107,7 +107,7 @@ $a->config['system']['no_regfullname'] = true;
|
||||||
//$a->config['system']['block_local_dir'] = false;
|
//$a->config['system']['block_local_dir'] = false;
|
||||||
|
|
||||||
// Location of the global directory
|
// 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
|
// Authentication cookie lifetime, in days
|
||||||
$a->config['system']['auth_cookie_lifetime'] = 7;
|
$a->config['system']['auth_cookie_lifetime'] = 7;
|
||||||
|
|
Loading…
Reference in a new issue