aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/config.inc.php
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>2013-08-04 20:58:31 +0200
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>2013-08-04 20:58:31 +0200
commiteb1af592194e225bf887e4893e697f0ab8dd9a26 (patch)
tree4ca66f2328ac5ab2abac1cfae98a0e1a7c4e5583 /inc/poche/config.inc.php
parent3ba5f81b7bc99d7ff954aa5b76aca93c9e157e67 (diff)
downloadwallabag-eb1af592194e225bf887e4893e697f0ab8dd9a26.tar.gz
wallabag-eb1af592194e225bf887e4893e697f0ab8dd9a26.tar.zst
wallabag-eb1af592194e225bf887e4893e697f0ab8dd9a26.zip
refactoring
Diffstat (limited to 'inc/poche/config.inc.php')
-rw-r--r--inc/poche/config.inc.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
new file mode 100644
index 00000000..81297e0c
--- /dev/null
+++ b/inc/poche/config.inc.php
@@ -0,0 +1,40 @@
1<?php
2/**
3 * poche, a read it later open source system
4 *
5 * @category poche
6 * @author Nicolas Lœuillet <nicolas@loeuillet.org>
7 * @copyright 2013
8 * @license http://www.wtfpl.net/ see COPYING file
9 */
10
11define ('POCHE_VERSION', '0.4');
12define ('MODE_DEMO', FALSE);
13define ('DEBUG_POCHE', FALSE);
14define ('CONVERT_LINKS_FOOTNOTES', FALSE);
15define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
16define ('DOWNLOAD_PICTURES', FALSE);
17define ('SALT', '464v54gLLw928uz4zUBqkRJeiPY68zCX');
18define ('ABS_PATH', 'assets/');
19define ('TPL', './tpl');
20define ('LOCALE', './locale');
21define ('CACHE', './cache');
22define ('LANG', 'fr_FR.UTF8');
23$storage_type = 'sqlite'; # sqlite, file
24
25# /!\ Be careful if you change the lines below /!\
26require_once './inc/poche/Tools.class.php';
27require_once './inc/poche/Url.class.php';
28require_once './inc/poche/Poche.class.php';
29require_once './inc/3rdparty/Readability.php';
30require_once './inc/3rdparty/Encoding.php';
31require_once './inc/3rdparty/Session.class.php';
32require_once './inc/store/store.class.php';
33require_once './inc/store/' . $storage_type . '.class.php';
34require_once './vendor/autoload.php';
35
36if (DOWNLOAD_PICTURES) {
37 require_once './inc/poche/pochePicture.php';
38}
39
40$poche = new Poche($storage_type); \ No newline at end of file