aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/global.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/global.inc.php')
-rwxr-xr-xinc/poche/global.inc.php19
1 files changed, 18 insertions, 1 deletions
diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php
index 2c22c014..9d710b6c 100755
--- a/inc/poche/global.inc.php
+++ b/inc/poche/global.inc.php
@@ -40,6 +40,12 @@ require_once INCLUDES . '/3rdparty/libraries/PHPePub/Logger.php';
40require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPub.php'; 40require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPub.php';
41require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php'; 41require_once INCLUDES . '/3rdparty/libraries/PHPePub/EPubChapterSplitter.php';
42 42
43require_once INCLUDES . '/3rdparty/PicoFarad/Request.php';
44require_once INCLUDES . '/3rdparty/PicoFarad/Response.php';
45require_once INCLUDES . '/3rdparty/PicoFarad/Router.php';
46require_once INCLUDES . '/3rdparty/PicoFarad/Session.php';
47require_once INCLUDES . '/3rdparty/PicoFarad/Template.php';
48
43# system configuration; database credentials et caetera 49# system configuration; database credentials et caetera
44require_once INCLUDES . '/poche/config.inc.php'; 50require_once INCLUDES . '/poche/config.inc.php';
45require_once INCLUDES . '/poche/config.inc.default.php'; 51require_once INCLUDES . '/poche/config.inc.default.php';
@@ -50,4 +56,15 @@ if (DOWNLOAD_PICTURES) {
50 56
51if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { 57if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
52 date_default_timezone_set('UTC'); 58 date_default_timezone_set('UTC');
53} \ No newline at end of file 59}
60
61if (defined('ERROR_REPORTING')) {
62 error_reporting(ERROR_REPORTING);
63}
64
65// Start session
66Session::$sessionName = 'wallabag';
67Session::init();
68
69// Let's rock !
70$wallabag = new Poche();