]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - inc/poche/config.inc.php
postgres
[github/wallabag/wallabag.git] / inc / poche / config.inc.php
... / ...
CommitLineData
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', '1.0-beta');
12define ('MODE_DEMO', FALSE);
13define ('DEBUG_POCHE', TRUE);
14define ('CONVERT_LINKS_FOOTNOTES', FALSE);
15define ('REVERT_FORCED_PARAGRAPH_ELEMENTS', FALSE);
16define ('DOWNLOAD_PICTURES', FALSE);
17define ('SHARE_TWITTER', TRUE);
18define ('SHARE_MAIL', TRUE);
19define ('SALT', '464v54gLLw928uz4zUBqkRJeiPY68zCX');
20define ('ABS_PATH', 'assets/');
21define ('TPL', './tpl');
22define ('LOCALE', './locale');
23define ('CACHE', './cache');
24define ('LANG', 'en_EN.UTF8');
25define ('PAGINATION', '10');
26define ('THEME', 'light');
27define ('STORAGE','postgres'); # postgres, mysql, sqlite
28
29# /!\ Be careful if you change the lines below /!\
30require_once './inc/poche/User.class.php';
31require_once './inc/poche/Tools.class.php';
32require_once './inc/poche/Url.class.php';
33require_once './inc/3rdparty/class.messages.php';
34require_once './inc/poche/Poche.class.php';
35require_once './inc/3rdparty/Readability.php';
36require_once './inc/3rdparty/Encoding.php';
37require_once './inc/poche/Database.class.php';
38require_once './vendor/autoload.php';
39require_once './inc/3rdparty/simple_html_dom.php';
40require_once './inc/3rdparty/paginator.php';
41require_once './inc/3rdparty/Session.class.php';
42
43if (DOWNLOAD_PICTURES) {
44 require_once './inc/poche/pochePictures.php';
45}
46
47$poche = new Poche();
48
49#XSRF protection with token
50// if (!empty($_POST)) {
51// if (!Session::isToken($_POST['token'])) {
52// die(_('Wrong token'));
53// }
54// unset($_SESSION['tokens']);
55// }