fermer.php 497 B

12345678910111213141516171819
  1. <?php
  2. // Fermeture de l'application web.
  3. //
  4. //Librairie de fonctions
  5. require_once(__DIR__ . '/vendor/autoload.php');
  6. require_once("lib/libconfig.inc.php");
  7. require_once("lib/libfonctions.inc.php");
  8. require_once("lib/libsession.inc.php");
  9. require_once("lib/libmysql.inc.php");
  10. require_once("lib/libencode.inc.php");
  11. session_start();
  12. fermeSessionUtilisateur();
  13. session_destroy();
  14. header("Clear-Site-Data: 'cache', 'cookies', 'storage', 'executionContexts'");
  15. header("Location: index.php");
  16. exit;