]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/poche/config.inc.php
refactoring
[github/wallabag/wallabag.git] / inc / poche / config.inc.php
CommitLineData
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
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);