aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/config.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/poche/config.inc.php')
-rwxr-xr-xinc/poche/config.inc.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index cb882cd0..a1917295 100755
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -30,10 +30,25 @@ require_once __DIR__ . '/../../inc/3rdparty/simple_html_dom.php';
30require_once __DIR__ . '/../../inc/3rdparty/paginator.php'; 30require_once __DIR__ . '/../../inc/3rdparty/paginator.php';
31require_once __DIR__ . '/../../inc/3rdparty/Session.class.php'; 31require_once __DIR__ . '/../../inc/3rdparty/Session.class.php';
32 32
33require_once __DIR__ . '/../../inc/3rdparty/simplepie/SimplePieAutoloader.php';
34require_once __DIR__ . '/../../inc/3rdparty/simplepie/SimplePie/Core.php';
35require_once __DIR__ . '/../../inc/3rdparty/content-extractor/ContentExtractor.php';
36require_once __DIR__ . '/../../inc/3rdparty/content-extractor/SiteConfig.php';
37require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/HumbleHttpAgent.php';
38require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/SimplePie_HumbleHttpAgent.php';
39require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/CookieJar.php';
40require_once __DIR__ . '/../../inc/3rdparty/feedwriter/FeedItem.php';
41require_once __DIR__ . '/../../inc/3rdparty/feedwriter/FeedWriter.php';
42require_once __DIR__ . '/../../inc/3rdparty/feedwriter/DummySingleItemFeed.php';
43
33if (DOWNLOAD_PICTURES) { 44if (DOWNLOAD_PICTURES) {
34 require_once __DIR__ . '/../../inc/poche/pochePictures.php'; 45 require_once __DIR__ . '/../../inc/poche/pochePictures.php';
35} 46}
36 47
48if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
49 date_default_timezone_set('UTC');
50}
51
37$poche = new Poche(); 52$poche = new Poche();
38#XSRF protection with token 53#XSRF protection with token
39// if (!empty($_POST)) { 54// if (!empty($_POST)) {