diff --git a/index.php b/index.php index 091e233..e860c84 100644 --- a/index.php +++ b/index.php @@ -6,12 +6,7 @@ if (session_status() === PHP_SESSION_NONE) { include_once "includes/csrf.php"; include_once "php/controller/index-controller.php"; ?> -if (session_status() === PHP_SESSION_NONE) { - session_start(); -} -include_once "includes/csrf.php"; -include_once "php/controller/index-controller.php"; -?> +