]> git.mxchange.org Git - friendica.git/blobdiff - htconfig.php
Merge remote-tracking branch 'upstream/develop' into 1706-ostatus-attach
[friendica.git] / htconfig.php
index b3e4ef9e9b980f79cb254feca2235098887748a4..f9b50cd4c4d44ccf71de603d1308ab41eefae86f 100644 (file)
@@ -16,7 +16,7 @@ $db_user = 'mysqlusername';
 $db_pass = 'mysqlpassword';
 $db_data = 'mysqldatabasename';
 
-// Set the database connection charset to UTF8.
+// Set the database connection charset to full Unicode (utf8mb4).
 // Changing this value will likely corrupt the special characters.
 // You have been warned.
 $a->config['system']['db_charset'] = "utf8mb4";
@@ -91,3 +91,6 @@ $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');
+
+// Authentication cookie lifetime, in days
+$a->config['system']['auth_cookie_lifetime'] = 7;