]> git.wh0rd.org - tt-rss.git/blame - config.php-dist
schema: add email column to ttrss_users
[tt-rss.git] / config.php-dist
CommitLineData
8af5db8f 1<?
8b2cbc33 2 // Your RDBMS must be configured to accept connections
f92db4f5 3 // via TCP/IP and authentified by password.
648472a7 4
cce28758
AD
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");
648472a7 10
a1a8a2be 11 define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
f92db4f5 12 // Local cache directory for RSS feeds
f92db4f5 13
cce28758 14 define('WEB_DEMO_MODE', false);
8b2cbc33 15 // Demo mode with reduced functionality.
7a991cac 16
cce28758
AD
17 define('ICONS_DIR', "icons");
18 define('ICONS_URL', "icons");
56a2fd35 19 // Local and URL path to the directory, where feed favicons are stored.
c8437f35 20
cce28758 21 define('USE_HTTP_AUTH', false);
8b2cbc33 22 // Use HTTP Basic authentication instead of login form. Has some problems.
8af5db8f 23
cce28758 24 define('SINGLE_USER_MODE', true);
8b2cbc33
AD
25 // Operate in single user mode, disables all functionality related to
26 // multiple users.
30a49c92 27
cce28758 28 define('DAEMON_REFRESH_ONLY', false);
30a49c92 29 // updates to all feeds will only run when the backend script is
0d436179
AD
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.
30a49c92 38 //
0d436179 39 // */30 * * * * /usr/bin/wget -O /dev/null -T 600 "http://www.your-site.xxx/tt-rss/backend.php?op=globalUpdateFeeds&daemon=1"
30a49c92
AD
40 //
41
1f2b01ed 42 // The alternative approach is to run update_feeds.php from your crontab
a47a3f82
AD
43 // with command line PHP interpreter. Don't forget to chdir() into TT-RSS
44 // directory or it won't be able to find includes. E.g.
45 //
46 // */30 * * * * cd $TTRSS_DIRECTORY && ./update_feeds.php >/dev/null 2>&1
47
c3d74dca 48 define('SMART_RPC_COUNTERS', false);
bbc92e50
AD
49 // If enabled, stores feed counter information on the server side and sends
50 // only diffs to the client. In the nutshell, it saves your bandwidth and
c3d74dca
AD
51 // makes UI more responsive, but eats server memory.
52 // This option can introduce a lot of weird interface glitches in
53 // some use-cases (if you have more than one tt-rss window open, for example)
54 // so it is disabled by default.
bbc92e50 55
65cd0f74 56 define('GLOBAL_ENABLE_LABELS', false);
cfaba6df
AD
57 // Labels are a security risk, so this option can globally disable them for all users.
58
75836f33
AD
59 define('ENABLE_LOGIN_SSL', false);
60 // Redirect to SSL url for login
61
7d4c898a 62?>