]>
Commit | Line | Data |
---|---|---|
eb1af592 NL |
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 | ||
11 | define ('POCHE_VERSION', '0.4'); | |
12 | define ('MODE_DEMO', FALSE); | |
13 | define ('DEBUG_POCHE', FALSE); | |
14 | define ('CONVERT_LINKS_FOOTNOTES', FALSE); | |
15 | define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE); | |
16 | define ('DOWNLOAD_PICTURES', FALSE); | |
17 | define ('SALT', '464v54gLLw928uz4zUBqkRJeiPY68zCX'); | |
18 | define ('ABS_PATH', 'assets/'); | |
19 | define ('TPL', './tpl'); | |
20 | define ('LOCALE', './locale'); | |
21 | define ('CACHE', './cache'); | |
22 | define ('LANG', 'fr_FR.UTF8'); | |
23 | $storage_type = 'sqlite'; # sqlite, file | |
24 | ||
25 | # /!\ Be careful if you change the lines below /!\ | |
26 | require_once './inc/poche/Tools.class.php'; | |
27 | require_once './inc/poche/Url.class.php'; | |
28 | require_once './inc/poche/Poche.class.php'; | |
29 | require_once './inc/3rdparty/Readability.php'; | |
30 | require_once './inc/3rdparty/Encoding.php'; | |
31 | require_once './inc/3rdparty/Session.class.php'; | |
32 | require_once './inc/store/store.class.php'; | |
33 | require_once './inc/store/' . $storage_type . '.class.php'; | |
34 | require_once './vendor/autoload.php'; | |
35 | ||
36 | if (DOWNLOAD_PICTURES) { | |
37 | require_once './inc/poche/pochePicture.php'; | |
38 | } | |
39 | ||
40 | $poche = new Poche($storage_type); |