Files
projet_cms/public/logout.php

8 lines
83 B
PHP

<?php
session_start();
session_destroy();
header("Location: login.php");
exit;