mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 19:41:02 +00:00
chmod & mail address
This commit is contained in:
parent
d6b28d43c8
commit
5801355cbc
3 changed files with 2 additions and 10 deletions
0
inc/3rdparty/class.messages.php
vendored
Executable file → Normal file
0
inc/3rdparty/class.messages.php
vendored
Executable file → Normal file
|
@ -3,7 +3,7 @@
|
|||
* poche, a read it later open source system
|
||||
*
|
||||
* @category poche
|
||||
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
|
||||
* @author Nicolas Lœuillet <support@inthepoche.com>
|
||||
* @copyright 2013
|
||||
* @license http://www.wtfpl.net/ see COPYING file
|
||||
*/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* poche, a read it later open source system
|
||||
*
|
||||
* @category poche
|
||||
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
|
||||
* @author Nicolas Lœuillet <support@inthepoche.com>
|
||||
* @copyright 2013
|
||||
* @license http://www.wtfpl.net/ see COPYING file
|
||||
*/
|
||||
|
@ -62,11 +62,3 @@ 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']);
|
||||
}
|
Loading…
Reference in a new issue