- // Please note that Apache may reserve /icons/ URL to itself so you might
- // need to change this and rename icons/ directory if you install tt-rss
- // into website root.
-
- define('TMP_DIRECTORY', '/tmp');
- // Directory for temporary files
-
- define('DAEMON_SLEEP_INTERVAL', 120);
- // Interval between update daemon update runs
-
- define('DATABASE_BACKED_SESSIONS', false);
- // Store session information in a database, recommended for multiuser
- // configurations. Doesn't seem to work for everyone, so enable with caution.
- // tt-rss uses default PHP session storing mechanism if disabled.
-
- define('SESSION_CHECK_ADDRESS', 1);
- // Check client IP address when validating session:
- // 0 - disable checking
- // 1 - check first 3 octets of an address (recommended)
- // 2 - check first 2 octets of an address
- // 3 - check entire address
-
- define('SESSION_COOKIE_LIFETIME', 0);
- // Default lifetime of a session (e.g. login) cookie. In seconds,
- // 0 means cookie will be deleted when browser closes.
-
- define('SESSION_EXPIRE_TIME', 86400);
- // Hard expiration limit for sessions. Should be
- // greater or equal to SESSION_COOKIE_LIFETIME
-
- define('DAEMON_UPDATE_LOGIN_LIMIT', 0);
- // Stop updating feeds of user who haven't logged in specified
- // amount of days. 0 disables.
-
- define('CHECK_FOR_NEW_VERSION', true);
- // Check for new versions of tt-rss automatically.
-
- define('DIGEST_ENABLE', true);
- // Global option to enable daily digests. Also toggles the ability of users
- // to forward articles by email.
-
- define('DIGEST_EMAIL_LIMIT', 10);
- // The maximum amount of emails sent in one digest batch
-
- define('DAEMON_SENDS_DIGESTS', true);
- // If update daemon and update_feeds should send digests
- // Disable if you prefer querying special URL (see wiki)
-
- define('MYSQL_CHARSET', 'UTF8');
- // 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.
-
- define('DEFAULT_UPDATE_METHOD', 0);
- // Which feed parsing library to use as default:
- // 0 - Magpie
- // 1 - SimplePie
-
- define('COUNTERS_MAX_AGE', 365);
- // Hard limit for unread counters calculation. Try tweaking this
- // parameter to speed up tt-rss when having a huge number of articles
- // in the database (better yet, enable purging!)
-
- define('DIGEST_FROM_NAME', 'Tiny Tiny RSS');
- define('DIGEST_FROM_ADDRESS', 'noreply@your.domain.dom');
- // Name, address and subject for sending outgoing mail. This applies
- // to password reset notifications, digest emails and any other mail.