diff --git a/src/I18n/Lang.json b/src/I18n/Lang.json index febee712..64dbbc8e 100644 --- a/src/I18n/Lang.json +++ b/src/I18n/Lang.json @@ -149,6 +149,9 @@ "%s enabled": { "zh-CN": "%s 启用" }, + "Loaded extensions": { + "zh-CN": "加载的 PHP 扩展" + }, // Database "Database": { "zh-CN": "数据库" diff --git a/src/PhpExtensionInfo/PhpExtensionInfo.php b/src/PhpExtensionInfo/PhpExtensionInfo.php index 1b01e5cf..0732f21b 100644 --- a/src/PhpExtensionInfo/PhpExtensionInfo.php +++ b/src/PhpExtensionInfo/PhpExtensionInfo.php @@ -90,6 +90,12 @@ private function getContent() 'label' => I18n::_('Zend Optimizer'), 'content' => Helper::getIni(0, \function_exists('zend_optimizer_version')), ), + array( + 'col' => '1-1', + 'label' => I18n::_('Loaded extensions'), + 'title' => 'loaded_extensions', + 'content' => \implode(', ', $this->getLoadedExtensions(true)) ?: '-', + ), ); // order @@ -112,7 +118,7 @@ private function getContent()