]> git.wh0rd.org - tt-rss.git/blob - config.php-dist
rename schema upgrade file
[tt-rss.git] / config.php-dist
1 <?
2 // PostgreSQL must be configured to accept connections
3 // via TCP/IP and authentified by password.
4
5 define(DB_TYPE, "pgsql"); // or mysql
6 define(DB_HOST, "localhost");
7 define(DB_USER, "fox");
8 define(DB_NAME, "fox");
9 define(DB_PASS, "XXXXXX");
10
11 define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
12 // Local cache directory for RSS feeds
13
14 define(WEB_DEMO_MODE, false);
15
16 define(ENABLE_FEED_ICONS, true);
17 define(ICONS_DIR, "icons");
18 define(ICONS_URL, "icons");
19
20 define(PURGE_OLD_DAYS, 30);
21 // Articles older than this number of days will be deleted automatically
22
23 define(UPDATE_POST_ON_CHECKSUM_CHANGE, true);
24
25 define(ENABLE_PREFS_CATCHUP_UNCATCHUP, false);
26 // enable "Mark as read/unread" buttons in preferences dialog
27
28 define(ENABLE_LABELS, false);
29 // experimental support for virtual feeds or labels based on user
30 // crafted SQL queries. This feature is highly experimental and
31 // at this point not user friendly. Use with caution.
32
33 define(DEFAULT_ARTICLE_LIMIT, 0);
34 // default limit for articles to display. Set to 0 for no limit. Not
35 // limited to the default 15, 30, 60 article limits - you may use
36 // any number you want and it will be added to the list. Negative
37 // numbers will be ignored. Anything that evaluates numerically to
38 // zero will be interpreted as 0.
39
40 define(DEFAULT_UPDATE_INTERVAL, 30);
41 // default interval between feed updates, minutes
42
43 define(DISPLAY_HEADER, true);
44 // enable/disable the display of the header graphic
45
46 define(DISPLAY_FOOTER, true);
47 // enable/disable the display of the footer
48
49 define(USE_COMPACT_STYLESHEET, false);
50 // use stylesheet with more compact layout (if combined with two previous
51 // options may improve UI on small screens)
52
53 define(DAEMON_REFRESH_ONLY, false);
54 // updates to all feeds will only run when the backend script is
55 // invoked with a "daemon" option on the URI stem. An example wget
56 // command line below will invoke an update every 30 minutes, with
57 // output being sent to /dev/null and the timeout set to 10 minutes
58 // so that wget does not time out. Substitute your site name, tt-rss
59 // path, and username/password as necessary.
60 //
61 // */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"
62 //
63
64 ?>
65