1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-16 21:08:34 +01:00

Added PHP_SAPI in Php data collector

It is important to know how the php is running from cli or a web request.
This commit is contained in:
Pavan kumar 2016-01-05 10:18:25 +05:30
parent 1ef8e1463b
commit a114bdee58

View File

@ -18,7 +18,8 @@ class PhpInfoCollector extends DataCollector
public function collect()
{
return array(
'version' => PHP_VERSION
'version' => PHP_VERSION,
'interface' => PHP_SAPI
);
}