diff --git a/src/www/system_firmware_check.php b/src/www/system_firmware_check.php index 5f96f56a3..07577b53c 100644 --- a/src/www/system_firmware_check.php +++ b/src/www/system_firmware_check.php @@ -42,7 +42,7 @@ $pkg_status = array(); if($_POST['action'] == 'pkg_update') { /* Setup Shell variables */ $shell_output = array(); - $shell = new Core\Shell(); + $shell = new OPNsense\Core\Shell(); // execute shell command and collect (only valid) info into named array $shell->exec("/usr/local/opnsense/scripts/pkg_updatecheck.sh",false,false,$shell_output); } @@ -50,7 +50,7 @@ if($_POST['action'] == 'pkg_update') { if($_POST['action'] == 'pkg_upgrade') { /* Setup Shell variables */ $shell_output = array(); - $shell = new Core\Shell(); + $shell = new OPsense\Core\Shell(); // execute shell command and collect (only valid) info into named array $shell->exec("/usr/local/opnsense/scripts/pkg_upgrade.sh&",false,false,$shell_output); } diff --git a/src/www/widgets/widgets/system_information.widget.php b/src/www/widgets/widgets/system_information.widget.php index b879b4381..79d8caebb 100644 --- a/src/www/widgets/widgets/system_information.widget.php +++ b/src/www/widgets/widgets/system_information.widget.php @@ -39,7 +39,7 @@ $file_pkg_status="/tmp/pkg_status.json"; if($_POST['action'] == 'pkg_update') { /* Setup Shell variables */ $shell_output = array(); - $shell = new Core\Shell(); + $shell = new OPNsense\Core\Shell(); // execute shell command and collect (only valid) info into named array $shell->exec("/usr/local/opnsense/scripts/pkg_updatecheck.sh",false,false,$shell_output); }