mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Update headers
This commit is contained in:
parent
66a207d455
commit
91d24d72cb
23
logout.php
23
logout.php
@ -1,14 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
/**************************************************************************\
|
/**************************************************************************\
|
||||||
* phpGroupWare *
|
* eGroupWare *
|
||||||
* http://www.phpgroupware.org *
|
* http://www.egroupware.org *
|
||||||
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
* Written by Joseph Engo <jengo@phpgroupware.org> *
|
||||||
* -------------------------------------------- *
|
* -------------------------------------------- *
|
||||||
* This program is free software; you can redistribute it and/or modify it *
|
* 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 *
|
* 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 *
|
* Free Software Foundation; either version 2 of the License, or (at your *
|
||||||
* option) any later version. *
|
* option) any later version. *
|
||||||
\**************************************************************************/
|
\**************************************************************************/
|
||||||
|
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
@ -28,11 +28,12 @@
|
|||||||
|
|
||||||
$verified = $GLOBALS['egw']->session->verify();
|
$verified = $GLOBALS['egw']->session->verify();
|
||||||
|
|
||||||
if(!$redirectTarget = $GLOBALS['egw']->session->appsession('referer', 'login')) {
|
if(!$redirectTarget = $GLOBALS['egw']->session->appsession('referer', 'login'))
|
||||||
|
{
|
||||||
$redirectTarget = $GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=1&domain='.$GLOBALS['egw_info']['user']['domain'];
|
$redirectTarget = $GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=1&domain='.$GLOBALS['egw_info']['user']['domain'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($verified)
|
if($verified)
|
||||||
{
|
{
|
||||||
$GLOBALS['egw']->hooks->process('logout');
|
$GLOBALS['egw']->hooks->process('logout');
|
||||||
$GLOBALS['egw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']);
|
$GLOBALS['egw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']);
|
||||||
|
Loading…
Reference in New Issue
Block a user