mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-22 16:56:50 +01:00
Add streams section to info
This commit is contained in:
parent
ac3102de43
commit
5a05cfec67
@ -142,7 +142,6 @@ class OptionsController extends AbstractController
|
||||
'Server API' => PHP_SAPI,
|
||||
'Loaded php.ini' => php_ini_loaded_file(),
|
||||
'Loaded Extensions' => implode(', ', get_loaded_extensions()),
|
||||
'Stream Wrappers' => implode(', ', stream_get_wrappers()),
|
||||
'Zend Engine Version' => zend_version()
|
||||
],
|
||||
'HTTP Request Headers' => HTTPRequest::headers()->toArray(),
|
||||
@ -177,6 +176,10 @@ class OptionsController extends AbstractController
|
||||
'Default MIME-Type' => ini_get('default_mimetype'),
|
||||
'Default Charset' => ini_get('default_charset')
|
||||
],
|
||||
'Streams' => [
|
||||
'Stream Wrappers' => implode(', ', stream_get_wrappers()),
|
||||
'Allow URL Fopen' => ini_get('allow_url_fopen') ? 'true' : 'false'
|
||||
],
|
||||
'OPcache' => [
|
||||
'Enabled' => $opcacheStatus['opcache_enabled'] ? 'true' : 'false',
|
||||
'Cached Scripts' => $opcacheStatus['opcache_statistics']['num_cached_scripts'] ?? 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user