aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index f64a0418..6eefd277 100644
--- a/index.php
+++ b/index.php
@@ -10,9 +10,8 @@
10 10
11include dirname(__FILE__).'/inc/config.php'; 11include dirname(__FILE__).'/inc/config.php';
12 12
13# initialize session
14myTool::initPhp(); 13myTool::initPhp();
15Session::init(); 14
16# XSRF protection with token 15# XSRF protection with token
17if (!empty($_POST)) { 16if (!empty($_POST)) {
18 if (!Session::isToken($_POST['token'])) { 17 if (!Session::isToken($_POST['token'])) {