<?php if (isset($_GET["delete"])) { require_once ROOT_DIR . "/core/controllers/session.php"; fichier::delete($_GET["delete"]); header("Location: /"); exit(); } else { header("Location: /"); exit(); }