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