From d5439a9ae8869c822d0fad2c0c5b57fd9851e194 Mon Sep 17 00:00:00 2001 From: uohlhv Date: Sun, 2 Jan 2022 14:13:22 +0800 Subject: [PATCH] Update config.php-dist --- config.php-dist | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.php-dist b/config.php-dist index 1c5faf8..0932d52 100755 --- a/config.php-dist +++ b/config.php-dist @@ -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_*).