mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +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
|
|
@ -329,10 +329,11 @@ class Context
|
|||
}
|
||||
else
|
||||
{
|
||||
ob_start();
|
||||
$this->setCacheControl(-1, true);
|
||||
$_SESSION = array();
|
||||
}
|
||||
|
||||
ob_start();
|
||||
register_shutdown_function('Context::close');
|
||||
|
||||
// set authentication information in Context and session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue