diff options
author | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2013-09-20 11:04:36 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas.loeuillet@gmail.com> | 2013-09-20 11:04:36 +0200 |
commit | 5801355cbcfc00be56d3745ae0a82ee7797bd0dc (patch) | |
tree | 11feac7877d0072cc57dacdd87dd38880d533d9f | |
parent | d6b28d43c827e94b3856e823a4b0e0c759e1a9fa (diff) | |
download | wallabag-5801355cbcfc00be56d3745ae0a82ee7797bd0dc.tar.gz wallabag-5801355cbcfc00be56d3745ae0a82ee7797bd0dc.tar.zst wallabag-5801355cbcfc00be56d3745ae0a82ee7797bd0dc.zip |
chmod & mail address
-rw-r--r--[-rwxr-xr-x] | inc/3rdparty/class.messages.php | 0 | ||||
-rwxr-xr-x | inc/poche/config.inc.php.new | 2 | ||||
-rw-r--r-- | inc/poche/global.inc.php | 10 |
3 files changed, 2 insertions, 10 deletions
diff --git a/inc/3rdparty/class.messages.php b/inc/3rdparty/class.messages.php index e60bd3a1..e60bd3a1 100755..100644 --- a/inc/3rdparty/class.messages.php +++ b/inc/3rdparty/class.messages.php | |||
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 @@ | |||
3 | * poche, a read it later open source system | 3 | * poche, a read it later open source system |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category poche |
6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> | 6 | * @author Nicolas Lœuillet <support@inthepoche.com> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
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 @@ | |||
3 | * poche, a read it later open source system | 3 | * poche, a read it later open source system |
4 | * | 4 | * |
5 | * @category poche | 5 | * @category poche |
6 | * @author Nicolas Lœuillet <nicolas@loeuillet.org> | 6 | * @author Nicolas Lœuillet <support@inthepoche.com> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://www.wtfpl.net/ see COPYING file |
9 | */ | 9 | */ |
@@ -61,12 +61,4 @@ if (Poche::$configFileAvailable && DOWNLOAD_PICTURES) { | |||
61 | 61 | ||
62 | if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { | 62 | if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { |
63 | date_default_timezone_set('UTC'); | 63 | date_default_timezone_set('UTC'); |
64 | } | ||
65 | |||
66 | #XSRF protection with token | ||
67 | if (!empty($_POST)) { | ||
68 | if (!Session::isToken($_POST['token'])) { | ||
69 | die(_('Wrong token')); | ||
70 | } | ||
71 | unset($_SESSION['token']); | ||
72 | } \ No newline at end of file | 64 | } \ No newline at end of file |