mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Never allow warnings to be printed before headers
This commit is contained in:
parent
be83a34b1e
commit
bfe6be6535
3 changed files with 7 additions and 6 deletions
|
|
@ -106,7 +106,10 @@ class DisplayHandler extends Handler
|
|||
}
|
||||
|
||||
// disable gzip if output already exists
|
||||
ob_flush();
|
||||
while (ob_get_level())
|
||||
{
|
||||
ob_end_flush();
|
||||
}
|
||||
if(headers_sent())
|
||||
{
|
||||
$this->gz_enabled = FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue