Tt-rss config: Difference between revisions
From wikinotes
No edit summary |
|||
Line 36: | Line 36: | ||
// Default lifetime of a session (e.g. login) cookie. In seconds, | // Default lifetime of a session (e.g. login) cookie. In seconds, | ||
// 0 means cookie will be deleted when browser closes. | // 0 means cookie will be deleted when browser closes. | ||
define(' | define('TTRSS_SESSION_COOKIE_LIFETIME', 0); | ||
// Hard expiration limit for sessions. Should be | // Hard expiration limit for sessions. Should be | ||
// greater or equal to SESSION_COOKIE_LIFETIME | // greater or equal to SESSION_COOKIE_LIFETIME | ||
define(' | define('TTRSS_SESSION_EXPIRE_TIME', 86400); | ||
</source> | </source> | ||
</blockquote><!-- Server config --> | </blockquote><!-- Server config --> |
Revision as of 17:35, 25 December 2021
Documentation
global config docs https://tt-rss.org/wiki/GlobalConfig
Locations
/usr/local/www/tt-rss/config.php
config
Server config
Required Settings
<?php putenv('TTRSS_DB_TYPE=mysql'); putenv('TTRSS_DB_HOST=..'); putenv('TTRSS_DB_USER=..'); putenv('TTRSS_DB_NAME=..'); putenv('TTRSS_DB_PASS=..'); putenv('TTRSS_DB_PORT=3306'); putenv('TTRSS_SELF_URL_PATH=https://domain.com'); // ...Some Useful Settings
// Default lifetime of a session (e.g. login) cookie. In seconds, // 0 means cookie will be deleted when browser closes. define('TTRSS_SESSION_COOKIE_LIFETIME', 0); // Hard expiration limit for sessions. Should be // greater or equal to SESSION_COOKIE_LIFETIME define('TTRSS_SESSION_EXPIRE_TIME', 86400);
Web UI config
[Tab] Preferences: General: - Theme: night_blue.css Feeds: - [x] Enable API Articles: - [ ] Combined mode # list titles only [Tab] Feeds: # add feed-categories here