Fixed redirect in xajax handler

This commit is contained in:
Andreas Stöckel 2010-06-11 08:25:24 +00:00
parent a480d1075a
commit 911bd7bd00

View File

@ -26,7 +26,7 @@ function xajax_redirect(&$anon_account)
define('XAJAX_DEFAULT_CHAR_ENCODING',translation::charset());
$response = new xajaxResponse();
$response->redirect($GLOBALS['egw_info']['server']['webserver_url'].'/login.php?cd=10');
$response->script("egw_topWindow().location.href='".$GLOBALS['egw_info']['server']['webserver_url']."/login.php?cd=10';");
$response->printOutput();
common::egw_exit();