X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=index.php;h=6eefd277e808647b331e42ca4c184cb03a0a38c4;hb=f0070a15e4725255dad967bde76155a39d189631;hp=f64a04187fd50563e85cecf2b174d23eb1482535;hpb=6f87a19714057e370a6b970bbfb82af5abd968f9;p=github%2Fwallabag%2Fwallabag.git diff --git a/index.php b/index.php index f64a0418..6eefd277 100644 --- a/index.php +++ b/index.php @@ -10,9 +10,8 @@ include dirname(__FILE__).'/inc/config.php'; -# initialize session myTool::initPhp(); -Session::init(); + # XSRF protection with token if (!empty($_POST)) { if (!Session::isToken($_POST['token'])) {