diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-21 19:32:19 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-21 19:32:19 +0200 |
commit | f0070a15e4725255dad967bde76155a39d189631 (patch) | |
tree | 69bfdf8ddbc09467be830274f434190b42979aa1 /index.php | |
parent | 6f87a19714057e370a6b970bbfb82af5abd968f9 (diff) | |
download | wallabag-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.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'])) { |