From 5801355cbcfc00be56d3745ae0a82ee7797bd0dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 20 Sep 2013 11:04:36 +0200 Subject: [PATCH] chmod & mail address --- inc/3rdparty/class.messages.php | 0 inc/poche/config.inc.php.new | 2 +- inc/poche/global.inc.php | 10 +--------- 3 files changed, 2 insertions(+), 10 deletions(-) mode change 100755 => 100644 inc/3rdparty/class.messages.php diff --git a/inc/3rdparty/class.messages.php b/inc/3rdparty/class.messages.php old mode 100755 new mode 100644 diff --git a/inc/poche/config.inc.php.new b/inc/poche/config.inc.php.new index 5c304d14..48cc5783 100755 --- a/inc/poche/config.inc.php.new +++ b/inc/poche/config.inc.php.new @@ -3,7 +3,7 @@ * poche, a read it later open source system * * @category poche - * @author Nicolas Lœuillet + * @author Nicolas Lœuillet * @copyright 2013 * @license http://www.wtfpl.net/ see COPYING file */ diff --git a/inc/poche/global.inc.php b/inc/poche/global.inc.php index 2437d065..65a026a7 100644 --- a/inc/poche/global.inc.php +++ b/inc/poche/global.inc.php @@ -3,7 +3,7 @@ * poche, a read it later open source system * * @category poche - * @author Nicolas Lœuillet + * @author Nicolas Lœuillet * @copyright 2013 * @license http://www.wtfpl.net/ see COPYING file */ @@ -61,12 +61,4 @@ if (Poche::$configFileAvailable && DOWNLOAD_PICTURES) { if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { date_default_timezone_set('UTC'); -} - -#XSRF protection with token -if (!empty($_POST)) { - if (!Session::isToken($_POST['token'])) { - die(_('Wrong token')); - } - unset($_SESSION['token']); } \ No newline at end of file -- 2.41.0