Ubuntu/debian package updates:
[openemr.git] / patients / logout.php
bloba165ce3a6a27d352ec4701615ee153fbc12d0fec
1 <?php
2 // Copyright (C) 2011 Cassian LUP <cassi.lup@gmail.com>
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
9 //log out by killing the session
10 session_start();
11 session_destroy();
13 //redirect to pretty login/logout page
14 header('Location: index.php?logout');
15 //