diff --git a/index.php b/index.php index 444fd925..659083b2 100644 --- a/index.php +++ b/index.php @@ -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()));