2005-08-21 13:13:04 +02:00
|
|
|
<?
|
2005-09-07 16:39:34 +02:00
|
|
|
// PostgreSQL must be configured to accept connections
|
2005-09-02 17:50:12 +02:00
|
|
|
// via TCP/IP and authentified by password.
|
2005-09-07 14:17:16 +02:00
|
|
|
|
2005-09-07 16:39:34 +02:00
|
|
|
define(DB_TYPE, "pgsql"); // or mysql
|
2005-09-07 14:17:16 +02:00
|
|
|
define(DB_HOST, "localhost");
|
|
|
|
define(DB_USER, "fox");
|
|
|
|
define(DB_NAME, "fox");
|
|
|
|
define(DB_PASS, "XXXXXX");
|
|
|
|
|
2005-08-21 17:01:18 +02:00
|
|
|
define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
|
2005-09-02 17:50:12 +02:00
|
|
|
// Local cache directory for RSS feeds
|
|
|
|
|
2005-08-23 13:34:07 +02:00
|
|
|
define(WEB_DEMO_MODE, false);
|
2005-09-02 17:50:12 +02:00
|
|
|
|
|
|
|
define(ENABLE_FEED_ICONS, true);
|
2005-08-25 08:46:24 +02:00
|
|
|
define(ICONS_DIR, "icons");
|
|
|
|
define(ICONS_URL, "icons");
|
2005-09-02 17:50:12 +02:00
|
|
|
|
2005-08-25 15:04:57 +02:00
|
|
|
define(PURGE_OLD_DAYS, 30);
|
2005-09-02 17:50:12 +02:00
|
|
|
// Articles older than this number of days will be deleted automatically
|
|
|
|
|
2005-08-25 16:12:10 +02:00
|
|
|
define(UPDATE_POST_ON_CHECKSUM_CHANGE, true);
|
2005-09-02 17:50:12 +02:00
|
|
|
|
|
|
|
define(ENABLE_PREFS_CATCHUP_UNCATCHUP, false);
|
|
|
|
// enable "Mark as read/unread" buttons in preferences dialog
|
2005-09-05 11:09:10 +02:00
|
|
|
|
2005-09-08 10:00:47 +02:00
|
|
|
define(ENABLE_LABELS, false);
|
2005-09-08 09:43:44 +02:00
|
|
|
// experimental support for virtual feeds or labels based on user
|
|
|
|
// crafted SQL queries. This feature is highly experimental and
|
|
|
|
// at this point not user friendly. Use with caution.
|
|
|
|
|
2005-10-28 03:26:50 +02:00
|
|
|
define(DEFAULT_ARTICLE_LIMIT, 0);
|
|
|
|
// default limit for articles to display. Set to 0 for no limit. Not
|
|
|
|
// limited to the default 15, 30, 60 article limits - you may use
|
|
|
|
// any number you want and it will be added to the list. Negative
|
|
|
|
// numbers will be ignored. Anything that evaluates numerically to
|
|
|
|
// zero will be interpreted as 0.
|
|
|
|
|
2005-10-26 03:30:05 +02:00
|
|
|
define(DEFAULT_UPDATE_INTERVAL, 30);
|
|
|
|
// default interval between feed updates, minutes
|
2005-10-16 06:51:09 +02:00
|
|
|
|
|
|
|
define(DISPLAY_HEADER, true);
|
|
|
|
// enable/disable the display of the header graphic
|
|
|
|
|
|
|
|
define(DISPLAY_FOOTER, true);
|
|
|
|
// enable/disable the display of the footer
|
|
|
|
|
|
|
|
define(USE_COMPACT_STYLESHEET, false);
|
|
|
|
// use stylesheet with more compact layout (if combined with two previous
|
|
|
|
// options may improve UI on small screens)
|
2005-10-28 03:30:03 +02:00
|
|
|
|
|
|
|
define(DAEMON_REFRESH_ONLY, false);
|
|
|
|
// updates to all feeds will only run when the backend script is
|
|
|
|
// invoked with a "daemon" option on the URI stem. An example wget
|
|
|
|
// command line below will invoke an update every 30 minutes, with
|
|
|
|
// output being sent to /dev/null and the timeout set to 10 minutes
|
|
|
|
// so that wget does not time out. Substitute your site name, tt-rss
|
|
|
|
// path, and username/password as necessary.
|
|
|
|
//
|
|
|
|
// */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://username:password@www.your-site.xxx/tt-rss/backend.php?op=rpc&subop=updateAllFeeds&daemon=1"
|
|
|
|
//
|
|
|
|
|
2005-11-15 11:18:01 +01:00
|
|
|
define(DISPLAY_FEEDLIST_ACTIONS, false);
|
|
|
|
// display actions dropbox in feedlist, if disabled these actions are
|
|
|
|
// available in the global actions dropbox
|
2005-11-16 09:45:00 +01:00
|
|
|
|
|
|
|
define(ENABLE_SPLASH, true);
|
|
|
|
// enable splashscreen on loading
|
2005-11-15 11:18:01 +01:00
|
|
|
|
2005-08-21 13:13:04 +02:00
|
|
|
?>
|
|
|
|
|