Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
logout.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Close session
9  *
10  * @author Anakeen 1999
11  * @version $Id: logout.php,v 1.12 2008/06/24 16:05:51 jerome Exp $
12  * @license http://www.gnu.org/licenses/lgpl-3.0.html GNU Lesser General Public License
13  * @package FDL
14  * @subpackage CORE
15  * @deprecated since HTTP Authentification
16  */
17 /**
18  */
19 include_once ('WHAT/Class.AuthenticatorManager.php');
20 /**
21  * Close session
22  *
23  */
24 function logout(&$action)
25 {
26  global $_SERVER;
27  global $_POST;
28 
29  $action->session->close();
31  exit(0);
32 }
33 ?>
← centre documentaire © anakeen - published under CC License - Dynacase