Fix system info class creation

Hostapd.php is throwing an error.
Two problems found:
1) the class System is not existing. Its actually called Sysinfo
2) the namespace of the class is RaspAP\System
This commit is contained in:
zbchristian
2021-08-31 16:43:44 +02:00
committed by GitHub
parent 8778d225ac
commit 0adbf9f215

View File

@@ -14,7 +14,7 @@ getWifiInterface();
function DisplayHostAPDConfig() function DisplayHostAPDConfig()
{ {
$status = new StatusMessages(); $status = new StatusMessages();
$system = new System(); $system = new \RaspAP\System\Sysinfo;
$arrConfig = array(); $arrConfig = array();
$arr80211Standard = [ $arr80211Standard = [
'a' => '802.11a - 5 GHz', 'a' => '802.11a - 5 GHz',