aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-21 19:32:19 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-21 19:32:19 +0200
commitf0070a15e4725255dad967bde76155a39d189631 (patch)
tree69bfdf8ddbc09467be830274f434190b42979aa1 /index.php
parent6f87a19714057e370a6b970bbfb82af5abd968f9 (diff)
downloadwallabag-f0070a15e4725255dad967bde76155a39d189631.tar.gz
wallabag-f0070a15e4725255dad967bde76155a39d189631.tar.zst
wallabag-f0070a15e4725255dad967bde76155a39d189631.zip
flash messages pour indiquer qu'une action s'est bien effectuée ou qu'il y a eu une erreur0.2
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'])) {