Update headers

This commit is contained in:
Miles Lott 2007-02-28 03:33:37 +00:00
parent 66a207d455
commit 91d24d72cb

View File

@ -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']);