diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,9 +10,8 @@ | |||
10 | 10 | ||
11 | include dirname(__FILE__).'/inc/config.php'; | 11 | include dirname(__FILE__).'/inc/config.php'; |
12 | 12 | ||
13 | # initialize session | ||
14 | myTool::initPhp(); | 13 | myTool::initPhp(); |
15 | Session::init(); | 14 | |
16 | # XSRF protection with token | 15 | # XSRF protection with token |
17 | if (!empty($_POST)) { | 16 | if (!empty($_POST)) { |
18 | if (!Session::isToken($_POST['token'])) { | 17 | if (!Session::isToken($_POST['token'])) { |