forked from extern/egroupware
"throw assertion failed exception (with trace), if redirect fails because output already started"
This commit is contained in:
parent
e40d0caaa3
commit
4181ddaecf
@ -441,6 +441,10 @@ class egw extends egw_minimal
|
||||
}
|
||||
else
|
||||
{
|
||||
if (headers_sent($file,$line))
|
||||
{
|
||||
throw new egw_exception_assertion_failed(__METHOD__."('".htmlspecialchars($url)."') can NOT redirect, output already started at $file line $line!");
|
||||
}
|
||||
Header("Location: $url");
|
||||
print("\n\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user