1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

chmod & mail address

This commit is contained in:
Nicolas Lœuillet 2013-09-20 11:04:36 +02:00
parent d6b28d43c8
commit 5801355cbc
3 changed files with 2 additions and 10 deletions

0
inc/3rdparty/class.messages.php vendored Executable file → Normal file
View File

View 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
*/ */

View 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']);
}