aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>2013-09-20 11:04:36 +0200
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>2013-09-20 11:04:36 +0200
commit5801355cbcfc00be56d3745ae0a82ee7797bd0dc (patch)
tree11feac7877d0072cc57dacdd87dd38880d533d9f
parentd6b28d43c827e94b3856e823a4b0e0c759e1a9fa (diff)
downloadwallabag-5801355cbcfc00be56d3745ae0a82ee7797bd0dc.tar.gz
wallabag-5801355cbcfc00be56d3745ae0a82ee7797bd0dc.tar.zst
wallabag-5801355cbcfc00be56d3745ae0a82ee7797bd0dc.zip
chmod & mail address
-rw-r--r--[-rwxr-xr-x]inc/3rdparty/class.messages.php0
-rwxr-xr-xinc/poche/config.inc.php.new2
-rw-r--r--inc/poche/global.inc.php10
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
62if (!ini_get('date.timezone') || !@date_default_timezone_set(ini_get('date.timezone'))) { 62if (!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
67if (!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