From d4554c6429f7a4ca80f48cb07dcd3eb6281ef1e2 Mon Sep 17 00:00:00 2001 From: billz Date: Thu, 20 Mar 2025 02:05:11 -0700 Subject: [PATCH] Update w/ getBridgedState() global function --- includes/dashboard.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/dashboard.php b/includes/dashboard.php index f77c6e55..3e1b3e14 100755 --- a/includes/dashboard.php +++ b/includes/dashboard.php @@ -35,8 +35,7 @@ function DisplayDashboard(): void $ethernetClients = $dashboard->getEthernetClients(); $totalClients = $wirelessClients + $ethernetClients; $plugins = $pluginManager->getInstalledPlugins(); - $arrHostapdConf = parse_ini_file(RASPI_CONFIG.'/hostapd.ini'); - $bridgedEnable = $arrHostapdConf['BridgedEnable']; + $bridgedEnable = getBridgedState(); // handle page actions if (!empty($_POST)) {