1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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