Skip to content

Commit

Permalink
DIsplay output buffering info
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Oct 5, 2024
1 parent fb47b87 commit ceca3bc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions formwork/src/Panel/Controllers/ToolsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ public function info(): Response
'Stream Wrappers' => implode(', ', stream_get_wrappers()),
'Allow URL Fopen' => ini_get('allow_url_fopen') ? 'true' : 'false',
],
'Output Buffering' => [
'Output Buffering' => ini_get('output_buffering') ? 'true' : 'false',
'Implicit Flush' => ini_get('implicit_flush') ? 'true' : 'false',
'Chunk Size' => ini_get('output_buffering') !== '1' ? ini_get('output_buffering') : 'unlimited',
],
'OPcache' => [
'Enabled' => $opcacheStatus['opcache_enabled'] ? 'true' : 'false',
'Cached Scripts' => $opcacheStatus['opcache_statistics']['num_cached_scripts'] ?? 0,
Expand Down

0 comments on commit ceca3bc

Please sign in to comment.