]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/poche/config.inc.php
remove csrf check
[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
3c33e40b 6 * @author Nicolas Lœuillet <support@inthepoche.com>
eb1af592
NL
7 * @copyright 2013
8 * @license http://www.wtfpl.net/ see COPYING file
9 */
10
bb5a7d9e 11require_once __DIR__ . '/../../inc/poche/define.inc.php';
eb1af592
NL
12
13# /!\ Be careful if you change the lines below /!\
bb5a7d9e 14if (!file_exists(__DIR__ . '/../../vendor/autoload.php')) {
d11e2bcf 15 die('Twig does not seem installed. Have a look at <a href="inthepoche.com/doc">the documentation.</a>');
4a291288 16}
bb5a7d9e 17
bb5a7d9e
NL
18require_once __DIR__ . '/../../inc/poche/User.class.php';
19require_once __DIR__ . '/../../inc/poche/Url.class.php';
20require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
21require_once __DIR__ . '/../../inc/poche/Poche.class.php';
22require_once __DIR__ . '/../../inc/3rdparty/Readability.php';
b9523a0b 23require_once __DIR__ . '/../../inc/poche/PocheReadability.php';
bb5a7d9e
NL
24require_once __DIR__ . '/../../inc/3rdparty/Encoding.php';
25require_once __DIR__ . '/../../inc/poche/Database.class.php';
26require_once __DIR__ . '/../../vendor/autoload.php';
27require_once __DIR__ . '/../../inc/3rdparty/simple_html_dom.php';
28require_once __DIR__ . '/../../inc/3rdparty/paginator.php';
29require_once __DIR__ . '/../../inc/3rdparty/Session.class.php';
eb1af592 30
ec397236
NL
31require_once __DIR__ . '/../../inc/3rdparty/simplepie/SimplePieAutoloader.php';
32require_once __DIR__ . '/../../inc/3rdparty/simplepie/SimplePie/Core.php';
33require_once __DIR__ . '/../../inc/3rdparty/content-extractor/ContentExtractor.php';
34require_once __DIR__ . '/../../inc/3rdparty/content-extractor/SiteConfig.php';
35require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/HumbleHttpAgent.php';
36require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/SimplePie_HumbleHttpAgent.php';
37require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/CookieJar.php';
38require_once __DIR__ . '/../../inc/3rdparty/feedwriter/FeedItem.php';
39require_once __DIR__ . '/../../inc/3rdparty/feedwriter/FeedWriter.php';
40require_once __DIR__ . '/../../inc/3rdparty/feedwriter/DummySingleItemFeed.php';
12d9cfbc 41require_once __DIR__ . '/../../inc/3rdparty/FlattrItem.class.php';
ec397236 42
eb1af592 43if (DOWNLOAD_PICTURES) {
bb5a7d9e 44 require_once __DIR__ . '/../../inc/poche/pochePictures.php';
eb1af592
NL
45}
46
ec397236
NL
47if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
48 date_default_timezone_set('UTC');
49}
50
0d64be15 51$poche = new Poche();