]>
Commit | Line | Data |
---|---|---|
8af5db8f | 1 | <? |
8b2cbc33 | 2 | // Your RDBMS 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); |
8b2cbc33 | 15 | // Demo mode with reduced functionality. |
7a991cac | 16 | |
273a2f6b AD |
17 | define(ICONS_DIR, "icons"); |
18 | define(ICONS_URL, "icons"); | |
c8437f35 AD |
19 | |
20 | define(USE_HTTP_AUTH, false); | |
8b2cbc33 | 21 | // Use HTTP Basic authentication instead of login form. Has some problems. |
8af5db8f | 22 | |
7d4c898a | 23 | define(SINGLE_USER_MODE, true); |
8b2cbc33 AD |
24 | // Operate in single user mode, disables all functionality related to |
25 | // multiple users. | |
30a49c92 AD |
26 | |
27 | define(DAEMON_REFRESH_ONLY, false); | |
28 | // updates to all feeds will only run when the backend script is | |
0d436179 AD |
29 | // invoked with a "daemon" option on the URI stem. This is useful when you |
30 | // are hosting multi-user system and want to control how often | |
31 | // feeds are being updated. | |
32 | ||
33 | // An example wget command line below will invoke an update every 30 | |
34 | // minutes, with output being sent to /dev/null and the timeout set to | |
35 | // 10 minutes so that wget does not time out. Substitute your site name | |
36 | // and tt-rss path as necessary. | |
30a49c92 | 37 | // |
0d436179 | 38 | // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://www.your-site.xxx/tt-rss/backend.php?op=globalUpdateFeeds&daemon=1" |
30a49c92 AD |
39 | // |
40 | ||
7d4c898a | 41 | ?> |