Update config.php-dist

This commit is contained in:
uohlhv 2022-01-02 14:13:22 +08:00
parent 5921260aff
commit d5439a9ae8

View File

@ -10,7 +10,7 @@
define('DB_PASS', "XXXXXX");
define('DB_PORT', ''); // usually 5432 for PostgreSQL, 3306 for MySQL
define('MYSQL_CHARSET', 'UTF8');
define('MYSQL_CHARSET', 'UTF8MB4');
// Connection charset for MySQL. If you have a legacy database and/or experience
// garbage unicode characters with this option, try setting it to a blank string.
@ -124,7 +124,7 @@
// *** Cookies and login sessions ***
// **********************************
define('SESSION_COOKIE_LIFETIME', 86400);
define('SESSION_COOKIE_LIFETIME', 31536000);
// Default lifetime of a session (e.g. login) cookie. In seconds,
// 0 means cookie will be deleted when browser closes.
@ -150,7 +150,7 @@
// *** Other settings (less important) ***
// ***************************************
define('CHECK_FOR_UPDATES', true);
define('CHECK_FOR_UPDATES', false);
// Check for updates automatically if running Git version
define('ENABLE_GZIP_OUTPUT', false);
@ -160,7 +160,7 @@
// if you experience weird errors and tt-rss failing to start, blank pages
// after login, or content encoding errors, disable it.
define('PLUGINS', 'auth_internal, note, toggle_sidebar, bookmarklets, close_button');
define('PLUGINS', 'auth_internal, cache_starred_images, note, toggle_sidebar, bookmarklets, close_button');
// Comma-separated list of plugins to load automatically for all users.
// System plugins have to be specified here. Please enable at least one
// authentication plugin here (auth_*).