diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -10,14 +10,6 @@ | |||
10 | 10 | ||
11 | include dirname(__FILE__).'/inc/poche/config.inc.php'; | 11 | include dirname(__FILE__).'/inc/poche/config.inc.php'; |
12 | 12 | ||
13 | #XSRF protection with token | ||
14 | // if (!empty($_POST)) { | ||
15 | // if (!Session::isToken($_POST['token'])) { | ||
16 | // die(_('Wrong token')); | ||
17 | // } | ||
18 | // unset($_SESSION['tokens']); | ||
19 | // } | ||
20 | |||
21 | $referer = empty($_SERVER['HTTP_REFERER']) ? '' : $_SERVER['HTTP_REFERER']; | 13 | $referer = empty($_SERVER['HTTP_REFERER']) ? '' : $_SERVER['HTTP_REFERER']; |
22 | $view = Tools::checkVar('view', 'home'); | 14 | $view = Tools::checkVar('view', 'home'); |
23 | $action = Tools::checkVar('action'); | 15 | $action = Tools::checkVar('action'); |