]> git.immae.eu Git - github/wallabag/wallabag.git/blame - inc/poche/global.inc.php
WHAT. A. BIG. REFACTOR. + new license (we moved to MIT one)
[github/wallabag/wallabag.git] / inc / poche / global.inc.php
CommitLineData
00dbaf90
NL
1<?php
2/**
c95b78a8 3 * wallabag, self hostable application allowing you to not miss any content anymore
00dbaf90 4 *
c95b78a8
NL
5 * @category wallabag
6 * @author Nicolas Lœuillet <nicolas@loeuillet.org>
00dbaf90 7 * @copyright 2013
3602405e 8 * @license http://opensource.org/licenses/MIT see COPYING file
00dbaf90
NL
9 */
10
11# the poche system root directory (/inc)
12define('INCLUDES', dirname(__FILE__) . '/..');
13
14# the poche root directory
15define('ROOT', INCLUDES . '/..');
16
17require_once INCLUDES . '/poche/Tools.class.php';
18require_once INCLUDES . '/poche/User.class.php';
19require_once INCLUDES . '/poche/Url.class.php';
20require_once INCLUDES . '/3rdparty/class.messages.php';
3602405e
NL
21require_once ROOT . '/vendor/autoload.php';
22require_once INCLUDES . '/poche/Template.class.php';
23require_once INCLUDES . '/poche/Language.class.php';
24require_once INCLUDES . '/poche/Routing.class.php';
00dbaf90
NL
25require_once INCLUDES . '/poche/Poche.class.php';
26
00dbaf90
NL
27require_once INCLUDES . '/poche/Database.class.php';
28require_once INCLUDES . '/3rdparty/simple_html_dom.php';
29require_once INCLUDES . '/3rdparty/paginator.php';
30require_once INCLUDES . '/3rdparty/Session.class.php';
31
42c80841
NL
32require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedItem.php';
33require_once INCLUDES . '/3rdparty/libraries/feedwriter/FeedWriter.php';
00dbaf90
NL
34require_once INCLUDES . '/3rdparty/FlattrItem.class.php';
35
1570a653
NL
36require_once INCLUDES . '/3rdparty/htmlpurifier/HTMLPurifier.auto.php';
37
87090d8a 38# epub library
39require_once INCLUDES . '/3rdparty/libraries/PHPePub/Logger.php';
40require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPub.php';
41require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php';
42
a33a3d2a 43# system configuration; database credentials et caetera
3602405e
NL
44require_once INCLUDES . '/poche/config.inc.php';
45require_once INCLUDES . '/poche/config.inc.default.php';
00dbaf90 46
3602405e 47if (DOWNLOAD_PICTURES) {
00dbaf90
NL
48 require_once INCLUDES . '/poche/pochePictures.php';
49}
50
51if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
52 date_default_timezone_set('UTC');
00dbaf90 53}