- // multiple users.
-
- define('SMART_RPC_COUNTERS', false);
- // If enabled, stores feed counter information on the server side and sends
- // only diffs to the client. In the nutshell, it saves your bandwidth and
- // makes UI more responsive, but eats server memory.
- // This option can introduce a lot of weird interface glitches in
- // some use-cases (if you have more than one tt-rss window open, for example)
- // so it is disabled by default.
-
- define('GLOBAL_ENABLE_LABELS', false);
- // Labels are a security risk, so this option can globally disable them for all users.
-
- define('MAIL_RESET_PASS', true);
- // Send mail to user on password reset
-
- define('ENABLE_FEED_BROWSER', true);
- // Enable or disable local feed browser
-
- define('TMP_DIRECTORY', '/tmp');
- // Directory for temporary files
-
- define('FEEDS_FRAME_REFRESH', 600);
- // Auto refresh interval for feeds frame (in seconds)
-
- define('MAX_UPDATE_TIME', 0);
- // Limit one update sequence run to this number of seconds.
- // The valiue is not exact, because it is being checked between feed updates,
- // which could use abritrary amount of time. Feeds which could not be updated
- // in time, are being skipped.
- // If this option is enabled (non-zero) feeds are updated in random order.
- // It is also recommended to set FEEDS_FRAME_REFRESH to a lower value if using
- // this option.
-
- define('ENABLE_UPDATE_DAEMON', false);
- // This enables different mechanism for user-triggered updates designed
- // for update daemon running in background on the server.
- // This option suggests FEEDS_FRAME_REFRESH set to a small value
- // (like 60 seconds, depending on number of users and server/bandwidth load).
-
- 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', true);
- // Bind session to client IP address (recommended)
-
- 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 was never logged in
- // in specified amount of days. 0 disables.
-
- define('CHECK_FOR_NEW_VERSION', true);
- // Check for new versions of tt-rss when entering preferences.
+ // multiple users and authentication. Enabling this assumes you have
+ // your tt-rss directory protected by other means (e.g. http auth).
+
+ define('SIMPLE_UPDATE_MODE', false);
+ // Enables fallback update mode where tt-rss tries to update feeds in
+ // background while tt-rss is open in your browser.
+ // If you don't have a lot of feeds and don't want to or can't run
+ // background processes while not running tt-rss, this method is generally
+ // viable to keep your feeds up to date.
+ // Still, there are more robust (and recommended) updating methods
+ // available, you can read about them here: http://tt-rss.org/wiki/UpdatingFeeds
+
+ // *****************************
+ // *** Files and directories ***
+ // *****************************
+
+ define('PHP_EXECUTABLE', '/usr/bin/php');
+ // Path to PHP *COMMAND LINE* executable, used for various command-line tt-rss
+ // programs and update daemon. Do not try to use CGI binary here, it won't work.
+ // If you see HTTP headers being displayed while running tt-rss scripts,
+ // then most probably you are using the CGI binary. If you are unsure what to
+ // put in here, ask your hosting provider.
+
+ define('LOCK_DIRECTORY', 'lock');
+ // Directory for lockfiles, must be writable to the user you run
+ // daemon process or cronjobs under.
+
+ define('CACHE_DIR', 'cache');
+ // Local cache directory for RSS feed content.
+
+ define('ICONS_DIR', "feed-icons");
+ define('ICONS_URL', "feed-icons");
+ // Local and URL path to the directory, where feed favicons are stored.
+ // Unless you really know what you're doing, please keep those relative
+ // to tt-rss main directory.