diff options
author | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2013-09-20 04:36:35 -0700 |
---|---|---|
committer | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2013-09-20 04:36:35 -0700 |
commit | 79026b73a804d1fe3715c3edf5bc2cfb1e56732c (patch) | |
tree | 225136afe844ad0b1c3fef443fcea86fe54384e5 /inc/poche/config.inc.php | |
parent | c51be6b697da573cdcf0788eb8617130ce5517a4 (diff) | |
parent | 6a6c1c1172f3c6167d360a2322335ea91e94a3ff (diff) | |
download | wallabag-79026b73a804d1fe3715c3edf5bc2cfb1e56732c.tar.gz wallabag-79026b73a804d1fe3715c3edf5bc2cfb1e56732c.tar.zst wallabag-79026b73a804d1fe3715c3edf5bc2cfb1e56732c.zip |
Merge pull request #226 from inthepoche/dev1.0-beta5
beta5
Diffstat (limited to 'inc/poche/config.inc.php')
-rwxr-xr-x | inc/poche/config.inc.php | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php deleted file mode 100755 index a1917295..00000000 --- a/inc/poche/config.inc.php +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | <?php | ||
2 | /** | ||
3 | * poche, a read it later open source system | ||
4 | * | ||
5 | * @category poche | ||
6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> | ||
7 | * @copyright 2013 | ||
8 | * @license http://www.wtfpl.net/ see COPYING file | ||
9 | */ | ||
10 | |||
11 | require_once __DIR__ . '/../../inc/poche/define.inc.php'; | ||
12 | |||
13 | # /!\ Be careful if you change the lines below /!\ | ||
14 | 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>'); | ||
16 | } | ||
17 | |||
18 | // if (file_exists(__DIR__ . '/../../inc/poche/myconfig.inc.php')) { | ||
19 | // require_once __DIR__ . '/../../inc/poche/myconfig.inc.php'; | ||
20 | // } | ||
21 | require_once __DIR__ . '/../../inc/poche/User.class.php'; | ||
22 | require_once __DIR__ . '/../../inc/poche/Url.class.php'; | ||
23 | require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; | ||
24 | require_once __DIR__ . '/../../inc/poche/Poche.class.php'; | ||
25 | require_once __DIR__ . '/../../inc/3rdparty/Readability.php'; | ||
26 | require_once __DIR__ . '/../../inc/3rdparty/Encoding.php'; | ||
27 | require_once __DIR__ . '/../../inc/poche/Database.class.php'; | ||
28 | require_once __DIR__ . '/../../vendor/autoload.php'; | ||
29 | require_once __DIR__ . '/../../inc/3rdparty/simple_html_dom.php'; | ||
30 | require_once __DIR__ . '/../../inc/3rdparty/paginator.php'; | ||
31 | require_once __DIR__ . '/../../inc/3rdparty/Session.class.php'; | ||
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 | |||
44 | if (DOWNLOAD_PICTURES) { | ||
45 | require_once __DIR__ . '/../../inc/poche/pochePictures.php'; | ||
46 | } | ||
47 | |||
48 | if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { | ||
49 | date_default_timezone_set('UTC'); | ||
50 | } | ||
51 | |||
52 | $poche = new Poche(); | ||
53 | #XSRF protection with token | ||
54 | // if (!empty($_POST)) { | ||
55 | // if (!Session::isToken($_POST['token'])) { | ||
56 | // die(_('Wrong token')); | ||
57 | // } | ||
58 | // unset($_SESSION['tokens']); | ||
59 | // } \ No newline at end of file | ||