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