summaryrefslogtreecommitdiff
path: root/config.php-dist
blob: f7848430a1fcd9b0219dc60da6a03490a2ddf7cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?
	// PostgreSQL must be configured to accept connections
	// via TCP/IP and authentified by password.

	define(DB_TYPE, "pgsql"); // or mysql
	define(DB_HOST, "localhost");
	define(DB_USER, "fox");
	define(DB_NAME, "fox");
	define(DB_PASS, "XXXXXX");

	define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
	// Local cache directory for RSS feeds
	
	define(WEB_DEMO_MODE, false);
	
	define(ENABLE_FEED_ICONS, true);	
	define(ICONS_DIR, "icons");
	define(ICONS_URL, "icons");
	
	define(PURGE_OLD_DAYS, 30);
	// Articles older than this number of days will be deleted automatically
	
	define(UPDATE_POST_ON_CHECKSUM_CHANGE, true);
	
	define(ENABLE_PREFS_CATCHUP_UNCATCHUP, false);
	// enable "Mark as read/unread" buttons in preferences dialog

	define(ENABLE_LABELS, false);
	// experimental support for virtual feeds or labels based on user
	// crafted SQL queries. This feature is highly experimental and
	// at this point not user friendly. Use with caution.

	define(DEFAULT_ARTICLE_LIMIT, 0);
	// default limit for articles to display. Set to 0 for no limit. Not
	// limited to the default 15, 30, 60 article limits - you may use
	// any number you want and it will be added to the list. Negative
	// numbers will be ignored. Anything that evaluates numerically to
	// zero will be interpreted as 0.

	define(DEFAULT_UPDATE_INTERVAL, 30);
	// default interval between feed updates, minutes

 	define(DISPLAY_HEADER, true);
 	// enable/disable the display of the header graphic
 
 	define(DISPLAY_FOOTER, true);
 	// enable/disable the display of the footer

	define(USE_COMPACT_STYLESHEET, false);
	// use stylesheet with more compact layout (if combined with two previous 
	// options may improve UI on small screens)
	
?>