forked from extern/egroupware
do NOT redirect, but set top.location, as this works in framed template too
This commit is contained in:
parent
12b26106ca
commit
b5ade8635a
@ -334,7 +334,9 @@ class egw extends egw_minimal
|
||||
if (egw_session::get_sessionid()) $redirect .= 'cd=10&';
|
||||
}
|
||||
if ($relpath) $redirect .= 'phpgw_forward='.urlencode($relpath.(!empty($query) ? '?'.$query : ''));
|
||||
Header('Location: '.$GLOBALS['egw_info']['server']['webserver_url'].$redirect);
|
||||
//Header('Location: '.$GLOBALS['egw_info']['server']['webserver_url'].$redirect);
|
||||
// do NOT redirect, but set top.location, as this works in framed template too
|
||||
echo "<html>\n<head>\n<script type='text/javascript'>top.location='{$GLOBALS['egw_info']['server']['webserver_url']}$redirect';\n</script></head>\n";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user