[core] no buffering for CLI output
This commit is contained in:
parent
69e9201cc6
commit
14b81dca09
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ try {
|
|||
$user = _get_user();
|
||||
send_event(new UserLoginEvent($user));
|
||||
if (PHP_SAPI === 'cli' || PHP_SAPI == 'phpdbg') {
|
||||
ob_end_flush();
|
||||
send_event(new CommandEvent($argv));
|
||||
} else {
|
||||
send_event(new PageRequestEvent($_SERVER['REQUEST_METHOD'], _get_query()));
|
||||
|
|
Reference in a new issue