X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftemplates%2Fhtconfig.tpl;h=78a2e47df2e89243ede77e7483cf52806503c8c9;hb=95bb8d38e87d8b09ef37404c4b23c08b6feb9da4;hp=78ba2a9bd90ab755b3dded01e95c2da63120e349;hpb=caa541f9392a0fc7f211e3f18fe3ffdca882586b;p=friendica.git diff --git a/view/templates/htconfig.tpl b/view/templates/htconfig.tpl index 78ba2a9bd9..78a2e47df2 100644 --- a/view/templates/htconfig.tpl +++ b/view/templates/htconfig.tpl @@ -15,6 +15,11 @@ $db_user = '{{$dbuser}}'; $db_pass = '{{$dbpass}}'; $db_data = '{{$dbdata}}'; +// Set the database connection charset to UTF8. +// Changing this value will likely corrupt the special characters. +// You have been warned. +$a->config['system']['db_charset'] = "utf8mb4"; + // email adress for the system admin $a->config['admin_email'] = '{{$adminmail}}'; @@ -30,6 +35,9 @@ $a->config['php_path'] = '{{$phpath}}'; $a->path = '{{$urlpath}}'; +// Allowed protocols in link URLs; HTTP protocols always are accepted +$a->config['system']['allowed_link_protocols'] = array('ftp', 'ftps', 'mailto', 'cid', 'gopher'); + /* ********************************************************************* * The configuration below will be overruled by the admin panel. * Changes made below will only have an effect if the database does @@ -72,14 +80,16 @@ $a->config['system']['maximagesize'] = 800000; $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 true and the -// PHP mcrypt extension is installed on both systems +// Encryption will only be provided if this setting is set to a non zero +// value and the PHP mcrypt extension is installed on both systems +// set to 0 to disable, 2 to enable, 1 is deprecated but wont need mcrypt $a->config['system']['rino_encrypt'] = {{$rino}}; // default system theme -$a->config['system']['theme'] = 'duepuntozero'; +$a->config['system']['theme'] = 'vier'; +$a->config['system']['allowed_themes'] = 'vier,quattro,duepuntozero,smoothly'; // By default allow pseudonyms