mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 00:50:29 +00:00
Instantiate system class w/ namespace
This commit is contained in:
parent
372da249af
commit
4e62413e11
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
require_once 'app/lib/system.php';
|
||||
|
||||
$system = new System();
|
||||
$system = new \RaspAP\System\Sysinfo;
|
||||
|
||||
$hostname = $system->hostname();
|
||||
$uptime = $system->uptime();
|
||||
|
|
|
@ -153,7 +153,7 @@ function DisplaySystem()
|
|||
);
|
||||
|
||||
#fetch system status variables.
|
||||
$system = new System();
|
||||
$system = new \RaspAP\System\Sysinfo;
|
||||
|
||||
$hostname = $system->hostname();
|
||||
$uptime = $system->uptime();
|
||||
|
|
Loading…
Reference in a new issue