OpenEMR is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
 // Copyright (C) 2011 Cassian LUP <cassi.lup@gmail.com>
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License
 // as published by the Free Software Foundation; either version 2
 // of the License, or (at your option) any later version.

    //continue session
        session_start();

    //landing page definition -- where to go after logout
        $landingpage = "index.php?site=".$_SESSION['site_id'];

    //log out by killing the session
    session_destroy();

    //redirect to pretty login/logout page
    header('Location: '.$landingpage.'&logout');
    //
?>
Ajax-loader Loading, please wait...