|
@@ -0,0 +1,58 @@
|
|
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://www.wtfpl.net/ see COPYING file
|
|
9
|
+ */
|
|
10
|
+
|
|
11
|
+define ('SALT', '{{ wallabag_salt }}'); # put a strong string here
|
|
12
|
+define ('LANG', 'en_EN.utf8');
|
|
13
|
+
|
|
14
|
+define ('STORAGE', 'postgres'); # 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', '{{ wallabag_db_database }}');
|
|
21
|
+define ('STORAGE_USER', '{{ wallabag_db_username }}');
|
|
22
|
+define ('STORAGE_PASSWORD', '{{ wallabag_db_password }}');
|
|
23
|
+
|
|
24
|
+#################################################################################
|
|
25
|
+# Do not trespass unless you know what you are doing
|
|
26
|
+#################################################################################
|
|
27
|
+
|
|
28
|
+// Change this if not using the standart port for SSL - i.e you server is behind sslh
|
|
29
|
+define ('SSL_PORT', 443);
|
|
30
|
+
|
|
31
|
+define ('MODE_DEMO', FALSE);
|
|
32
|
+define ('DEBUG_POCHE', FALSE);
|
|
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', 'baggy');
|
|
48
|
+
|
|
49
|
+define ('THEME', ROOT . '/themes');
|
|
50
|
+define ('LOCALE', ROOT . '/locale');
|
|
51
|
+define ('CACHE', ROOT . '/cache');
|
|
52
|
+
|
|
53
|
+define ('PAGINATION', '10');
|
|
54
|
+
|
|
55
|
+//limit for download of articles during import
|
|
56
|
+define ('IMPORT_LIMIT', 5);
|
|
57
|
+//delay between downloads (in sec)
|
|
58
|
+define ('IMPORT_DELAY', 5);
|