diff --git a/includes/sysstats.php b/includes/sysstats.php index 591672ba..5122c91c 100755 --- a/includes/sysstats.php +++ b/includes/sysstats.php @@ -2,7 +2,7 @@ require_once 'app/lib/system.php'; -$system = new System(); +$system = new \RaspAP\System\Sysinfo; $hostname = $system->hostname(); $uptime = $system->uptime(); diff --git a/includes/system.php b/includes/system.php index 046cadac..7cd53b24 100755 --- a/includes/system.php +++ b/includes/system.php @@ -153,7 +153,7 @@ function DisplaySystem() ); #fetch system status variables. - $system = new System(); + $system = new \RaspAP\System\Sysinfo; $hostname = $system->hostname(); $uptime = $system->uptime();