]> git.wh0rd.org - tt-rss.git/blob - config.php-dist
rework previous patch
[tt-rss.git] / config.php-dist
1 <?
2 // Your RDBMS 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 // Demo mode with reduced functionality.
16
17 define('ICONS_DIR', "icons");
18 define('ICONS_URL', "icons");
19 // Local and URL path to the directory, where feed favicons are stored.
20
21 define('USE_HTTP_AUTH', false);
22 // Use HTTP Basic authentication instead of login form. Has some problems.
23
24 define('SINGLE_USER_MODE', true);
25 // Operate in single user mode, disables all functionality related to
26 // multiple users.
27
28 define('DAEMON_REFRESH_ONLY', false);
29 // updates to all feeds will only run when the backend script is
30 // invoked with a "daemon" option on the URI stem. This is useful when you
31 // are hosting multi-user system and want to control how often
32 // feeds are being updated.
33
34 // An example wget command line below will invoke an update every 30
35 // minutes, with output being sent to /dev/null and the timeout set to
36 // 10 minutes so that wget does not time out. Substitute your site name
37 // and tt-rss path as necessary.
38 //
39 // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://www.your-site.xxx/tt-rss/backend.php?op=globalUpdateFeeds&daemon=1"
40 //
41
42 define('SMART_RPC_COUNTERS', true);
43 // If enabled, stores feed counter information on the server side and sends
44 // only diffs to the client. In the nutshell, it saves your bandwidth and
45 // makes UI more responsive, but eats server memory.
46 // If you experience weird feedlist refresh bugs, disable this option.
47
48 ?>