Added comment header
[gnucomo.git] / src / web / logout.php
1 <?php 
2
3 /**************************************************************************
4 **  (c) Copyright 2003, Andromeda Technology & Automation
5 ** This is free software; you can redistribute it and/or modify it under the
6 ** terms of the GNU General Public License, see the file COPYING.
7 ***************************************************************************
8 ** MODULE INFORMATION *
9 ***********************
10 **      FILE NAME      : logout.php
11 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
12 **      VERSION NUMBER : $Revision: 1.2 $
13 **
14 **  DESCRIPTION      : Gnucomo logout script.
15 **                     Simply clears the username in the session and
16 **                     invokes the login page.
17 **
18 **  EXPORTED OBJECTS : 
19 **  LOCAL    OBJECTS : 
20 **  MODULES  USED    :
21 ***************************************************************************
22 **  ADMINISTRATIVE INFORMATION *
23 ********************************
24 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
25 **      CREATION DATE   : Dec 03, 2002
26 **      LAST UPDATE     : Feb 08, 2003
27 **      MODIFICATIONS   : 
28 **************************************************************************/
29
30 /*****************************
31    $Log: logout.php,v $
32    Revision 1.2  2003-02-13 09:00:45  arjen
33    Added comment header
34
35 ******************************/
36
37 // RCSID = "$Id: logout.php,v 1.2 2003-02-13 09:00:45 arjen Exp $";
38
39 session_start();
40 $_SESSION['username'] = '';
41
42 include('login.php');