]>
Commit | Line | Data |
---|---|---|
8af5db8f | 1 | <? |
763f2268 | 2 | // PostgreSQL must be configured to accept connections |
f92db4f5 | 3 | // via TCP/IP and authentified by password. |
648472a7 | 4 | |
763f2268 | 5 | define(DB_TYPE, "pgsql"); // or mysql |
648472a7 AD |
6 | define(DB_HOST, "localhost"); |
7 | define(DB_USER, "fox"); | |
8 | define(DB_NAME, "fox"); | |
9 | define(DB_PASS, "XXXXXX"); | |
10 | ||
a1a8a2be | 11 | define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache'); |
f92db4f5 | 12 | // Local cache directory for RSS feeds |
f92db4f5 | 13 | |
b0b4abcf | 14 | define(WEB_DEMO_MODE, false); |
f92db4f5 AD |
15 | |
16 | define(ENABLE_FEED_ICONS, true); | |
78800912 AD |
17 | define(ICONS_DIR, "icons"); |
18 | define(ICONS_URL, "icons"); | |
f92db4f5 | 19 | |
c3a8d71a | 20 | define(PURGE_OLD_DAYS, 30); |
f92db4f5 AD |
21 | // Articles older than this number of days will be deleted automatically |
22 | ||
36bf7496 | 23 | define(UPDATE_POST_ON_CHECKSUM_CHANGE, true); |
f92db4f5 AD |
24 | |
25 | define(ENABLE_PREFS_CATCHUP_UNCATCHUP, false); | |
26 | // enable "Mark as read/unread" buttons in preferences dialog | |
70830c87 | 27 | |
7f4bd256 | 28 | define(ENABLE_LABELS, false); |
48f0adb0 AD |
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 | ||
f1b9a8ee AD |
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 | ||
7f2ee795 AD |
40 | define(DEFAULT_UPDATE_INTERVAL, 30); |
41 | // default interval between feed updates, minutes | |
da5d0d09 AD |
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) | |
c70d731e AD |
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 | ||
8af5db8f AD |
64 | ?> |
65 |