Add PHP SAPI to server info display

This commit is contained in:
Kijin Sung 2018-01-13 14:13:28 +09:00
parent 10049e9471
commit d417cee611

View file

@ -739,6 +739,7 @@ class adminAdminView extends admin
$info['php'] = sprintf('%s (%d-bit)', phpversion(), PHP_INT_SIZE * 8);
$info['server'] = $_SERVER['SERVER_SOFTWARE'];
$info['os'] = sprintf('%s %s', php_uname('s'), php_uname('r'));
$info['sapi'] = php_sapi_name();
$info['baseurl'] = Context::getRequestUri();
$info['basedir'] = RX_BASEDIR;
$info['owner'] = sprintf('%s (%d:%d)', get_current_user(), getmyuid(), getmygid());