mirror of
https://github.com/Oreolek/debug-toolbar.git
synced 2024-06-16 23:00:50 +03:00
There is no Kohana::$is_cli property in Kohana v3.3
This commit is contained in:
parent
39d713c4ce
commit
63814dd7fa
|
@ -437,7 +437,7 @@ abstract class Kohana_DebugToolbar {
|
|||
}
|
||||
|
||||
// Don't auto render toolbar for cli requests
|
||||
if (Kohana::$is_cli)
|
||||
if (PHP_SAPI == 'cli')
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue