mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Create more documentation (#7627)
* Documentation, format class, no modification.
This commit is contained in:
@@ -83,6 +83,14 @@
|
||||
//
|
||||
|
||||
//system information
|
||||
/**
|
||||
* Retrieves system information.
|
||||
*
|
||||
* @return array An array containing various system information such as PHP and switch versions,
|
||||
* git repository details, operating system name, version, uptime, kernel, and type,
|
||||
* memory usage, CPU usage, and disk space. The keys of the returned array are
|
||||
* 'version', 'git', 'path', 'switch', 'php', 'os', 'mem', and 'cpu'.
|
||||
*/
|
||||
function system_information(): array {
|
||||
global $database, $db_type;
|
||||
$system_information = [];
|
||||
|
||||
Reference in New Issue
Block a user