diff options
Diffstat (limited to 'inc/poche/config.inc.php')
-rwxr-xr-x | inc/poche/config.inc.php | 21 |
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 | ||
18 | if (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 | // } |
21 | require_once __DIR__ . '/../../inc/poche/User.class.php'; | 21 | require_once __DIR__ . '/../../inc/poche/User.class.php'; |
22 | require_once __DIR__ . '/../../inc/poche/Url.class.php'; | 22 | require_once __DIR__ . '/../../inc/poche/Url.class.php'; |
23 | require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; | 23 | require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; |
@@ -30,10 +30,25 @@ require_once __DIR__ . '/../../inc/3rdparty/simple_html_dom.php'; | |||
30 | require_once __DIR__ . '/../../inc/3rdparty/paginator.php'; | 30 | require_once __DIR__ . '/../../inc/3rdparty/paginator.php'; |
31 | require_once __DIR__ . '/../../inc/3rdparty/Session.class.php'; | 31 | require_once __DIR__ . '/../../inc/3rdparty/Session.class.php'; |
32 | 32 | ||
33 | require_once __DIR__ . '/../../inc/3rdparty/simplepie/SimplePieAutoloader.php'; | ||
34 | require_once __DIR__ . '/../../inc/3rdparty/simplepie/SimplePie/Core.php'; | ||
35 | require_once __DIR__ . '/../../inc/3rdparty/content-extractor/ContentExtractor.php'; | ||
36 | require_once __DIR__ . '/../../inc/3rdparty/content-extractor/SiteConfig.php'; | ||
37 | require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/HumbleHttpAgent.php'; | ||
38 | require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/SimplePie_HumbleHttpAgent.php'; | ||
39 | require_once __DIR__ . '/../../inc/3rdparty/humble-http-agent/CookieJar.php'; | ||
40 | require_once __DIR__ . '/../../inc/3rdparty/feedwriter/FeedItem.php'; | ||
41 | require_once __DIR__ . '/../../inc/3rdparty/feedwriter/FeedWriter.php'; | ||
42 | require_once __DIR__ . '/../../inc/3rdparty/feedwriter/DummySingleItemFeed.php'; | ||
43 | |||
33 | if (DOWNLOAD_PICTURES) { | 44 | if (DOWNLOAD_PICTURES) { |
34 | require_once __DIR__ . '/../../inc/poche/pochePictures.php'; | 45 | require_once __DIR__ . '/../../inc/poche/pochePictures.php'; |
35 | } | 46 | } |
36 | 47 | ||
48 | if (!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)) { |