diff --git a/classes/kohana/debugtoolbar.php b/classes/kohana/debugtoolbar.php index 0567f55..88be591 100644 --- a/classes/kohana/debugtoolbar.php +++ b/classes/kohana/debugtoolbar.php @@ -406,6 +406,10 @@ abstract class Kohana_DebugToolbar { if (Request::initial()->is_ajax()) return FALSE; + // Don't auto render toolbar for cli requests + if (Kohana::$is_cli) + return FALSE; + // Don't auto render toolbar if $_GET['debug'] = 'false' if (isset($_GET['debug']) and strtolower($_GET['debug']) == 'false') return FALSE;