X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=htconfig.php;h=f4ea4d295e7ce076812643aa5f2484ddabe367a5;hb=00ceb4acd23903eaf34ec41375697b21818da325;hp=fe5a17520b4c3f15f942a12045e947f5120035fe;hpb=5d3bf9307f9ed2e4e0135089c15f5cf894ef731c;p=friendica.git diff --git a/htconfig.php b/htconfig.php index fe5a17520b..f4ea4d295e 100644 --- a/htconfig.php +++ b/htconfig.php @@ -2,6 +2,11 @@ // If automatic system installation fails: + +die('The configuration you did manually contains some mistakes. Please have a look at your .htconfig.php file.'); +// If you are doing the configuration manually, please remove the line above + + // Copy or rename this file to .htconfig.php // Why .htconfig.php? Because it contains sensitive information which could @@ -60,15 +65,10 @@ $a->config['system']['maximagesize'] = 800000; $a->config['php_path'] = 'php'; -// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts - -$a->config['system']['huburl'] = '[internal]'; - // Server-to-server private message encryption (RINO) is allowed by default. -// Encryption will only be provided if this setting is set to a non zero value -// set to 0 to disable, 2 to enable, 1 is deprecated +// set to 0 to disable, 1 to enable -$a->config['system']['rino_encrypt'] = 2; +$a->config['system']['rino_encrypt'] = 1; // allowed themes (change this from admin panel after installation) @@ -87,7 +87,10 @@ $a->config['system']['no_regfullname'] = true; //$a->config['system']['block_local_dir'] = false; // Location of the global directory -$a->config['system']['directory'] = 'http://dir.friendi.ca'; +$a->config['system']['directory'] = 'https://dir.friendica.social'; // Allowed protocols in link URLs; HTTP protocols always are accepted -$a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher'); +$a->config['system']['allowed_link_protocols'] = ['ftp', 'ftps', 'mailto', 'cid', 'gopher']; + +// Authentication cookie lifetime, in days +$a->config['system']['auth_cookie_lifetime'] = 7;