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.php21
1 files changed, 18 insertions, 3 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index 4122ff10..a1917295 100755
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -15,9 +15,9 @@ if (!file_exists(__DIR__ . '/../../vendor/autoload.php')) {
15 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>'); 15 die('Twig does not seem installed. Have a look at <a href="http://inthepoche.com/?pages/Documentation">the documentation.</a>');
16} 16}
17 17
18if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) { 18// if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) {
19 require_once __DIR__ . '/../../inc/poche/myconfig.inc.php'; 19 // require_once __DIR__ . '/../../inc/poche/myconfig.inc.php';
20} 20// }
21require_once __DIR__ . '/../../inc/poche/User.class.php'; 21require_once __DIR__ . '/../../inc/poche/User.class.php';
22require_once __DIR__ . '/../../inc/poche/Url.class.php'; 22require_once __DIR__ . '/../../inc/poche/Url.class.php';
23require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; 23require_once __DIR__ . '/../../inc/3rdparty/class.messages.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)) {