Update headers

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

View File

@ -1,7 +1,7 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* eGroupWare *
* http://www.egroupware.org *
* Written by Joseph Engo <jengo@phpgroupware.org> *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
@ -28,11 +28,12 @@
$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'];
}
if ($verified)
if($verified)
{
$GLOBALS['egw']->hooks->process('logout');
$GLOBALS['egw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']);