]>
Commit | Line | Data |
---|---|---|
4dbba604 MR |
1 | <?php |
2 | /** | |
3 | * wallabag, self hostable application allowing you to not miss any content anymore | |
4 | * | |
5 | * @category wallabag | |
6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> | |
7 | * @copyright 2013 | |
3602405e | 8 | * @license http://opensource.org/licenses/MIT see COPYING file |
4dbba604 MR |
9 | */ |
10 | ||
5b5e47c3 MR |
11 | @define ('SALT', ''); # put a strong string here |
12 | @define ('LANG', 'en_EN.utf8'); | |
4dbba604 | 13 | |
5b5e47c3 | 14 | @define ('STORAGE', 'sqlite'); # postgres, mysql or sqlite |
4dbba604 | 15 | |
5b5e47c3 | 16 | @define ('STORAGE_SQLITE', ROOT . '/db/poche.sqlite'); # if you are using sqlite, where the database file is located |
4dbba604 MR |
17 | |
18 | # only for postgres & mysql | |
5b5e47c3 MR |
19 | @define ('STORAGE_SERVER', 'localhost'); |
20 | @define ('STORAGE_DB', 'poche'); | |
21 | @define ('STORAGE_USER', 'poche'); | |
22 | @define ('STORAGE_PASSWORD', 'poche'); | |
054c9d88 | 23 | @define ('MYSQL_USE_UTF8MB4', FALSE); // This should be false unless you know what it is |
4dbba604 MR |
24 | |
25 | ################################################################################# | |
26 | # Do not trespass unless you know what you are doing | |
27 | ################################################################################# | |
2d4cfc58 MK |
28 | // Change this if http is running on nonstandard port - i.e is behind cache proxy |
29 | @define ('HTTP_PORT', 80); | |
4dbba604 MR |
30 | |
31 | // Change this if not using the standart port for SSL - i.e you server is behind sslh | |
5b5e47c3 MR |
32 | @define ('SSL_PORT', 443); |
33 | ||
34 | @define ('MODE_DEMO', FALSE); | |
1fbef3bf | 35 | @define ('DEBUG_POCHE', FALSE); |
121691e9 | 36 | |
752cd4a8 MR |
37 | //default level of error reporting in application. Developers should override it in their config.inc.php: set to E_ALL. |
38 | @define ('ERROR_REPORTING', E_ALL & ~E_NOTICE); | |
39 | ||
38eecef2 | 40 | @define ('DOWNLOAD_PICTURES', FALSE); # This can slow down the process of adding articles |
6caba976 | 41 | @define ('REGENERATE_PICTURES_QUALITY', 75); |
5b5e47c3 MR |
42 | @define ('CONVERT_LINKS_FOOTNOTES', FALSE); |
43 | @define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE); | |
44 | @define ('SHARE_TWITTER', TRUE); | |
45 | @define ('SHARE_MAIL', TRUE); | |
46 | @define ('SHARE_SHAARLI', FALSE); | |
47 | @define ('SHAARLI_URL', 'http://myshaarliurl.com'); | |
571b99e8 | 48 | @define ('SHARE_EVERNOTE', FALSE); |
7c2c49d9 TC |
49 | @define ('SHARE_DIASPORA', FALSE); |
50 | @define ('DIASPORA_URL', 'http://diasporapod.com'); # Don't add a / at the end | |
5b5e47c3 MR |
51 | @define ('FLATTR', TRUE); |
52 | @define ('FLATTR_API', 'https://api.flattr.com/rest/v2/things/lookup/?url='); | |
53 | @define ('NOT_FLATTRABLE', '0'); | |
54 | @define ('FLATTRABLE', '1'); | |
55 | @define ('FLATTRED', '2'); | |
d25a3f13 | 56 | @define ('CARROT', FALSE); |
5ea5310a TC |
57 | |
58 | // ebook | |
59 | @define ('EPUB', TRUE); | |
60 | @define ('MOBI', FALSE); | |
61 | @define ('PDF', FALSE); | |
62 | ||
6cb5e1c9 | 63 | // registration |
50b752c2 | 64 | @define ('ALLOW_REGISTER', FALSE); |
698eda73 | 65 | @define ('SEND_CONFIRMATION_EMAIL', FALSE); |
6cb5e1c9 | 66 | |
5b5e47c3 MR |
67 | // display or not print link in article view |
68 | @define ('SHOW_PRINTLINK', '1'); | |
69 | // display or not percent of read in article view. Affects only default theme. | |
70 | @define ('SHOW_READPERCENT', '1'); | |
44b95cb8 | 71 | @define ('RELOAD_ARTICLE', TRUE); |
5b5e47c3 MR |
72 | @define ('ABS_PATH', 'assets/'); |
73 | ||
74 | @define ('DEFAULT_THEME', 'baggy'); | |
75 | ||
76 | @define ('THEME', ROOT . '/themes'); | |
77 | @define ('LOCALE', ROOT . '/locale'); | |
78 | @define ('CACHE', ROOT . '/cache'); | |
79 | ||
cca9284b | 80 | @define ('PAGINATION', '12'); |
4dbba604 MR |
81 | |
82 | //limit for download of articles during import | |
5b5e47c3 | 83 | @define ('IMPORT_LIMIT', 5); |
4dbba604 | 84 | //delay between downloads (in sec) |
5b5e47c3 | 85 | @define ('IMPORT_DELAY', 5); |