]>
Commit | Line | Data |
---|---|---|
00dbaf90 NL |
1 | <?php |
2 | /** | |
3 | * poche, a read it later open source system | |
4 | * | |
5 | * @category poche | |
5801355c | 6 | * @author Nicolas Lœuillet <support@inthepoche.com> |
00dbaf90 NL |
7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ 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 | ||
2916d24b JCSD |
28 | // Change this if not using the standart port for SSL - i.e you server is behind sslh |
29 | define ('SSL_PORT', 443); | |
30 | ||
00dbaf90 | 31 | define ('MODE_DEMO', FALSE); |
37527034 | 32 | define ('DEBUG_POCHE', FALSE); |
00dbaf90 NL |
33 | define ('DOWNLOAD_PICTURES', FALSE); |
34 | define ('CONVERT_LINKS_FOOTNOTES', FALSE); | |
35 | define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE); | |
36 | define ('SHARE_TWITTER', TRUE); | |
37 | define ('SHARE_MAIL', TRUE); | |
38 | define ('SHARE_SHAARLI', FALSE); | |
39 | define ('SHAARLI_URL', 'http://myshaarliurl.com'); | |
40 | define ('FLATTR', TRUE); | |
41 | define ('FLATTR_API', 'https://api.flattr.com/rest/v2/things/lookup/?url='); | |
42 | define ('NOT_FLATTRABLE', '0'); | |
43 | define ('FLATTRABLE', '1'); | |
44 | define ('FLATTRED', '2'); | |
45 | define ('ABS_PATH', 'assets/'); | |
46 | ||
47 | define ('DEFAULT_THEME', 'default'); | |
48 | ||
49 | define ('THEME', ROOT . '/themes'); | |
50 | define ('LOCALE', ROOT . '/locale'); | |
51 | define ('CACHE', ROOT . '/cache'); | |
52 | ||
53 | define ('PAGINATION', '10'); | |
54 | ||
92cd6e9a NL |
55 | define ('POCKET_FILE', '/ril_export.html'); |
56 | define ('READABILITY_FILE', '/readability'); | |
57 | define ('INSTAPAPER_FILE', '/instapaper-export.html'); | |
58 | ||
59 | define ('IMPORT_POCKET_FILE', ROOT . POCKET_FILE); | |
60 | define ('IMPORT_READABILITY_FILE', ROOT . READABILITY_FILE); | |
2916d24b | 61 | define ('IMPORT_INSTAPAPER_FILE', ROOT . INSTAPAPER_FILE); |