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