mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-03 08:05:54 +02: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:
@ -18,7 +18,8 @@ class PhpInfoCollector extends DataCollector
|
||||
public function collect()
|
||||
{
|
||||
return array(
|
||||
'version' => PHP_VERSION
|
||||
'version' => PHP_VERSION,
|
||||
'interface' => PHP_SAPI
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user