]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - inc/poche/global.inc.php
3 * wallabag, self hostable application allowing you to not miss any content anymore
6 * @author Nicolas LÅ“uillet <nicolas@loeuillet.org>
8 * @license http://opensource.org/licenses/MIT see COPYING file
11 # the poche system root directory (/inc)
12 define('INCLUDES', dirname(__FILE__
) . '/..');
14 # the poche root directory
15 define('ROOT', INCLUDES
. '/..');
17 require_once INCLUDES
. '/poche/Tools.class.php';
18 require_once INCLUDES
. '/poche/User.class.php';
19 require_once INCLUDES
. '/poche/Url.class.php';
20 require_once ROOT
. '/vendor/autoload.php';
21 require_once INCLUDES
. '/poche/Template.class.php';
22 require_once INCLUDES
. '/poche/Language.class.php';
23 require_once INCLUDES
. '/poche/Routing.class.php';
24 require_once INCLUDES
. '/poche/WallabagEBooks.class.php';
25 require_once INCLUDES
. '/poche/Poche.class.php';
27 require_once INCLUDES
. '/poche/Database.class.php';
28 require_once INCLUDES
. '/3rdparty/paginator.php';
30 require_once INCLUDES
. '/3rdparty/libraries/feedwriter/FeedItem.php';
31 require_once INCLUDES
. '/3rdparty/libraries/feedwriter/FeedWriter.php';
32 require_once INCLUDES
. '/poche/FlattrItem.class.php';
35 require_once INCLUDES
. '/3rdparty/libraries/PHPePub/Logger.php';
36 require_once INCLUDES
. '/3rdparty/libraries/PHPePub/EPub.php';
37 require_once INCLUDES
. '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php';
40 require_once INCLUDES
. '/3rdparty/libraries/MOBIClass/MOBI.php';
43 #require_once INCLUDES . '/3rdparty/libraries/mpdf/mpdf.php';
44 require_once INCLUDES
. '/3rdparty/libraries/tcpdf/tcpdf.php';
46 # system configuration; database credentials et caetera
47 require_once INCLUDES
. '/poche/config.inc.php';
48 require_once INCLUDES
. '/poche/config.inc.default.php';
50 if (DOWNLOAD_PICTURES
) {
51 require_once INCLUDES
. '/poche/pochePictures.php';
54 if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
55 date_default_timezone_set('UTC');
58 if (defined('ERROR_REPORTING')) {
59 error_reporting(ERROR_REPORTING
);