1
0
Fork 0
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:
biakaveron 2012-11-10 15:08:35 +04:00
parent 39d713c4ce
commit 63814dd7fa

View file

@ -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;
}