7 * @link http://www.open-emr.org
8 * @author Tony McCormick <tony@mi-squared.com>
9 * @author Kevin Yeh <kevin.y@integralemr.com>
10 * @author Brady Miller <brady.g.miller@gmail.com>
11 * @copyright Copyright (c) 2018 Brady Miller <brady.g.miller@gmail.com>
12 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
15 // Set the GET auth parameter to logout.
16 // This parameter is then captured in the auth.inc script (which is included in globals.php script) and does the following:
18 // 2. Closes the php session
19 // 3. Redirects user to the login screen (maintains the site id)
20 $_GET['auth'] = "logout";
21 // Set $sessionAllowWrite to true to prevent session concurrency issues during authorization/logout related code
22 $sessionAllowWrite = true;
23 require_once("globals.php");