From 7d54568ca335395406cf24a54531085038f4259d Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 3 Dec 2025 18:10:33 -0700 Subject: [PATCH] Update system_information array with apcu_enable and hostname --- app/system/resources/functions/system_information.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/system/resources/functions/system_information.php b/app/system/resources/functions/system_information.php index aeb0593fc8..2fba947344 100644 --- a/app/system/resources/functions/system_information.php +++ b/app/system/resources/functions/system_information.php @@ -156,6 +156,7 @@ } $system_information['php']['version'] = phpversion(); + $system_information['php']['apcu'] = (function_exists('apcu_enabled') && apcu_enabled()) ? 'true' : 'false'; if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') { $data = explode("\n", shell_exec('systeminfo /FO CSV 2> nul')); @@ -188,6 +189,7 @@ $system_information['os']['version'] = 'permission denied'; } + $system_information['os']['hostname'] = gethostname(); $system_information['os']['date'] = date('r'); $system_information['os']['type'] = PHP_OS;