Skip to content

Commit

Permalink
info panel: added TS indicator & xdebug modes
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 27, 2024
1 parent a92e70a commit 3354d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tracy/Bar/panels/info.panel.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ $info = [
'Your IP' => $ipFormatter($_SERVER['REMOTE_ADDR'] ?? null),
'Server IP' => $ipFormatter($_SERVER['SERVER_ADDR'] ?? null),
'HTTP method / response code' => isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] . ' / ' . http_response_code() : null,
'PHP' => PHP_VERSION,
'Xdebug' => extension_loaded('xdebug') ? phpversion('xdebug') : null,
'PHP' => PHP_VERSION . ' ' . (PHP_ZTS ? 'TS' : 'NTS'),
'Xdebug' => extension_loaded('xdebug') ? phpversion('xdebug') . ' (' . implode(', ', xdebug_info('mode')) . ')' : null,
'Tracy' => Debugger::Version,
'Server' => $_SERVER['SERVER_SOFTWARE'] ?? null,
];
Expand Down

0 comments on commit 3354d6a

Please sign in to comment.