Fixed regression

This commit is contained in:
Matthew Sigley 2018-04-03 16:40:18 -04:00 committed by GitHub
parent d124f6fc95
commit 3bdecbc5a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,7 @@ class OpCacheService
$config['version'],
[
'php' => phpversion(),
'server' => $_SERVER['SERVER_SOFTWARE'],
'server' => empty($_SERVER['SERVER_SOFTWARE']) ? '' : $_SERVER['SERVER_SOFTWARE'],
'host' => (function_exists('gethostname')
? gethostname()
: (php_uname('n')