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:
parent
1ef8e1463b
commit
a114bdee58
@ -18,7 +18,8 @@ class PhpInfoCollector extends DataCollector
|
||||
public function collect()
|
||||
{
|
||||
return array(
|
||||
'version' => PHP_VERSION
|
||||
'version' => PHP_VERSION,
|
||||
'interface' => PHP_SAPI
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user