aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/config.inc.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-12 19:28:59 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@gmail.com>2013-09-12 19:28:59 +0200
commitb9523a0ba09b5641e93fcd8300dd1a9f5145da2d (patch)
tree404e6ec03b241003610aab888a65ab47e90e6e97 /inc/poche/config.inc.php
parent084ec2a63df90b775195ad874f8fc0d7fbefbc93 (diff)
downloadwallabag-b9523a0ba09b5641e93fcd8300dd1a9f5145da2d.tar.gz
wallabag-b9523a0ba09b5641e93fcd8300dd1a9f5145da2d.tar.zst
wallabag-b9523a0ba09b5641e93fcd8300dd1a9f5145da2d.zip
fix bug #209: titles with colon bad parsed
Diffstat (limited to 'inc/poche/config.inc.php')
-rwxr-xr-xinc/poche/config.inc.php10
1 files changed, 2 insertions, 8 deletions
diff --git a/inc/poche/config.inc.php b/inc/poche/config.inc.php
index 45526695..aaa26af8 100755
--- a/inc/poche/config.inc.php
+++ b/inc/poche/config.inc.php
@@ -20,6 +20,7 @@ require_once __DIR__ . '/../../inc/poche/Url.class.php';
20require_once __DIR__ . '/../../inc/3rdparty/class.messages.php'; 20require_once __DIR__ . '/../../inc/3rdparty/class.messages.php';
21require_once __DIR__ . '/../../inc/poche/Poche.class.php'; 21require_once __DIR__ . '/../../inc/poche/Poche.class.php';
22require_once __DIR__ . '/../../inc/3rdparty/Readability.php'; 22require_once __DIR__ . '/../../inc/3rdparty/Readability.php';
23require_once __DIR__ . '/../../inc/poche/PocheReadability.php';
23require_once __DIR__ . '/../../inc/3rdparty/Encoding.php'; 24require_once __DIR__ . '/../../inc/3rdparty/Encoding.php';
24require_once __DIR__ . '/../../inc/poche/Database.class.php'; 25require_once __DIR__ . '/../../inc/poche/Database.class.php';
25require_once __DIR__ . '/../../vendor/autoload.php'; 26require_once __DIR__ . '/../../vendor/autoload.php';
@@ -47,11 +48,4 @@ if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timez
47 date_default_timezone_set('UTC'); 48 date_default_timezone_set('UTC');
48} 49}
49 50
50$poche = new Poche(); 51$poche = new Poche(); \ No newline at end of file
51#XSRF protection with token
52// if (!empty($_POST)) {
53// if (!Session::isToken($_POST['token'])) {
54// die(_('Wrong token'));
55// }
56// unset($_SESSION['tokens']);
57// } \ No newline at end of file