mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 02:39:24 +01:00
chmod & mail address
This commit is contained in:
parent
d6b28d43c8
commit
5801355cbc
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
|
* poche, a read it later open source system
|
||||||
*
|
*
|
||||||
* @category poche
|
* @category poche
|
||||||
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
|
* @author Nicolas Lœuillet <support@inthepoche.com>
|
||||||
* @copyright 2013
|
* @copyright 2013
|
||||||
* @license http://www.wtfpl.net/ see COPYING file
|
* @license http://www.wtfpl.net/ see COPYING file
|
||||||
*/
|
*/
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* poche, a read it later open source system
|
* poche, a read it later open source system
|
||||||
*
|
*
|
||||||
* @category poche
|
* @category poche
|
||||||
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
|
* @author Nicolas Lœuillet <support@inthepoche.com>
|
||||||
* @copyright 2013
|
* @copyright 2013
|
||||||
* @license http://www.wtfpl.net/ see COPYING file
|
* @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'))) {
|
if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) {
|
||||||
date_default_timezone_set('UTC');
|
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 New Issue
Block a user