]> git.wh0rd.org - tt-rss.git/blob - config.php-dist
schema: remove ttrss_themes
[tt-rss.git] / config.php-dist
1 <?php
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 //define('DB_PORT', '5432'); // when neeeded, PG-only
11
12 define('MAGPIE_FETCH_TIME_OUT', 60);
13 // Magpie's default timeout is 5 seconds. Some RSS feeds,
14 // such as from large Trac installs, can take significantly
15 // longer than 5 seconds to generate. To prevent failed
16 // updates, increase this.
17
18 define('MAGPIE_CACHE_DIR', 'cache/magpie');
19 // Local cache directory for RSS feeds
20
21 define('ICONS_DIR', "icons");
22 define('ICONS_URL', "icons");
23 // Local and URL path to the directory, where feed favicons are stored.
24 // Unless you really know what you're doing, please keep those relative
25 // to tt-rss main directory.
26 // Please note that Apache may reserve /icons/ URL to itself so you might
27 // need to change this and rename icons/ directory if you install tt-rss
28 // into website root.
29
30 define('SINGLE_USER_MODE', true);
31 // Operate in single user mode, disables all functionality related to
32 // multiple users.
33
34 define('TMP_DIRECTORY', '/tmp');
35 // Directory for temporary files
36
37 define('ENABLE_UPDATE_DAEMON', false);
38 // This enables different mechanism for user-triggered updates designed
39 // for update daemon running in background on the server.
40 // This option suggests FEEDS_FRAME_REFRESH set to a small value
41 // (like 60 seconds, depending on number of users and server/bandwidth load).
42
43 define('DAEMON_SLEEP_INTERVAL', 120);
44 // Interval between update daemon update runs
45
46 define('DATABASE_BACKED_SESSIONS', false);
47 // Store session information in a database, recommended for multiuser
48 // configurations. Doesn't seem to work for everyone, so enable with caution.
49 // tt-rss uses default PHP session storing mechanism if disabled.
50
51 define('SESSION_CHECK_ADDRESS', 1);
52 // Check client IP address when validating session:
53 // 0 - disable checking
54 // 1 - check first 3 octets of an address (recommended)
55 // 2 - check first 2 octets of an address
56 // 3 - check entire address
57
58 define('SESSION_COOKIE_LIFETIME', 0);
59 // Default lifetime of a session (e.g. login) cookie. In seconds,
60 // 0 means cookie will be deleted when browser closes.
61
62 define('SESSION_EXPIRE_TIME', 86400);
63 // Hard expiration limit for sessions. Should be
64 // greater or equal to SESSION_COOKIE_LIFETIME
65
66 define('DAEMON_UPDATE_LOGIN_LIMIT', 0);
67 // Stop updating feeds of user who haven't logged in specified
68 // amount of days. 0 disables.
69
70 define('CHECK_FOR_NEW_VERSION', true);
71 // Check for new versions of tt-rss automatically.
72
73 define('DIGEST_ENABLE', true);
74 // Global option to enable daily digests. Also toggles the ability of users
75 // to forward articles by email.
76
77 define('DIGEST_EMAIL_LIMIT', 10);
78 // The maximum amount of emails sent in one digest batch
79
80 define('DAEMON_SENDS_DIGESTS', true);
81 // If update daemon and update_feeds should send digests
82 // Disable if you prefer querying special URL (see wiki)
83
84 define('MYSQL_CHARSET', 'UTF8');
85 // Connection charset for MySQL. If you have a legacy database and/or experience
86 // garbage unicode characters with this option, try setting it to a blank string.
87
88 define('DEFAULT_UPDATE_METHOD', 0);
89 // Which feed parsing library to use as default:
90 // 0 - Magpie
91 // 1 - SimplePie
92
93 define('SIMPLEPIE_CACHE_DIR', 'cache/simplepie');
94 // Cache directory for RSS feeds when using SimplePie
95
96 define('SIMPLEPIE_CACHE_IMAGES', false);
97 // Allow caching feed images when using SimplePie, to bypass hotlink
98 // prevention and such at expense of local disk space and bandwidth.
99 // Note that you (or your users) also have to enable image caching
100 // in feed editor.
101
102 define('COUNTERS_MAX_AGE', 365);
103 // Hard limit for unread counters calculation. Try tweaking this
104 // parameter to speed up tt-rss when having a huge number of articles
105 // in the database (better yet, enable purging!)
106
107 define('DIGEST_FROM_NAME', 'Tiny Tiny RSS');
108 define('DIGEST_FROM_ADDRESS', 'noreply@your.domain.dom');
109 // Name, address and subject for sending outgoing mail. This applies
110 // to password reset notifications, digest emails and any other mail.
111
112 define('DIGEST_SUBJECT', '[tt-rss] New headlines for last 24 hours');
113 // Subject line for email digests
114
115 define('DIGEST_SMTP_HOST', '');
116 // SMTP Host to send outgoing mail. Blank - use system MTA.
117
118 define('DIGEST_SMTP_LOGIN', '');
119 define('DIGEST_SMTP_PASSWORD', '');
120 // These two options enable SMTP authentication when sending
121 // outgoing mail. Require DIGEST_SMTP_HOST.
122
123 define('DAEMON_FEED_LIMIT', 100);
124 // Limits the amount of feeds daemon (or a cronjob) updates on one run
125
126 define('ALLOW_REMOTE_USER_AUTH', false);
127 // Set to 'true' if you trust your web server's REMOTE_USER
128 // environment variable that the user is logged in. This option can be
129 // used to integrate tt-rss with Apache's external authentication modules.
130
131 define('AUTO_LOGIN', false);
132 // Set this to true if you use ALLOW_REMOTE_USER_AUTH or client SSL
133 // certificate authentication and you want to skip the login form.
134 // If set to true, users won't be able to set application language
135 // and settings profile.
136 // Otherwise users will be redirected to login form with their login
137 // information pre-filled.
138
139 define('LOCK_DIRECTORY', 'lock');
140 // Directory for lockfiles, must be writable to the user you run
141 // daemon process or cronjobs under.
142
143 define('ENABLE_GZIP_OUTPUT', false);
144 // Selectively gzip output to improve wire performance. This requires
145 // PHP Zlib extension on the server.
146
147 define('PHP_EXECUTABLE', '/usr/bin/php');
148 // Path to PHP executable
149
150 define('ENABLE_REGISTRATION', false);
151 // Allow users to register themselves. Please be vary that allowing
152 // random people to access your tt-rss installation is a security risk
153 // and potentially might lead to data loss or server exploit. Disabled
154 // by default.
155
156 define('REG_NOTIFY_ADDRESS', 'user@your.domain.dom');
157 // Email address to send new user notifications to.
158
159 define('REG_MAX_USERS', 10);
160 // Maximum amount of users which will be allowed to register on this
161 // system. 0 - no limit.
162
163 define('FEEDBACK_URL', '');
164 // Displays an URL for users to provide feedback or comments regarding
165 // this instance of tt-rss. Can lead to a forum, contact email, etc.
166
167 define('FORCE_ARTICLE_PURGE', 0);
168 // When this option is not 0, users ability to control feed purging
169 // intervals is disabled and all articles (which are not starred)
170 // older than this amount of days are purged.
171
172 define('SPHINX_ENABLED', false);
173 // Enable fulltext search using Sphinx (http://www.sphinxsearch.com)
174 // Please see http://tt-rss.org/wiki/SphinxSearch for more information.
175
176 define('SPHINX_INDEX', 'ttrss');
177 // Index name in Sphinx configuration
178
179 define('ENABLE_TWEET_BUTTON', false);
180 // Enable 'tweet this' button for articles
181
182 define('CONSUMER_KEY', '');
183 define('CONSUMER_SECRET', '');
184 // Your OAuth instance authentication information for Twitter, visit
185 // http://twitter.com/oauth_clients to register your instance.
186
187 define('PUBSUBHUBBUB_HUB', '');
188 // URL to a PubSubHubbub-compatible hub server. If defined, Published
189 // articles generated feeds would automatically become PUSH-enabled.
190
191 define('ISCONFIGURED', false);
192 // Please set this to true if you have read everything above and
193 // finished setting configuration options.
194
195 define('CONFIG_VERSION', 22);
196 // Expected config version. Please update this option in config.php
197 // if necessary (after migrating all new options from this file).
198
199 // vim:ft=php
200 ?>