summaryrefslogtreecommitdiff
path: root/logout.php
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2024-02-09 15:56:55 +0100
committerpolo <ordipolo@gmx.fr>2024-02-09 15:56:55 +0100
commit949737cf5fc2a21b36c4a269a437d0dc2e965441 (patch)
tree5a6962408f833e6e2b04519fed544193e41e6360 /logout.php
downloadlelionetlecolibri-master.zip
1er commitHEADmaster
Diffstat (limited to 'logout.php')
-rw-r--r--logout.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/logout.php b/logout.php
new file mode 100644
index 0000000..d454339
--- /dev/null
+++ b/logout.php
@@ -0,0 +1,7 @@
1<?php
2// effet du bouton déconnexion
3session_start();
4$_SESSION['motdepasse'] = 0;
5session_destroy();
6header('Location: index.php');
7?>