mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Fix #140
This commit is contained in:
parent
8129077da5
commit
be14091365
|
|
@ -79,9 +79,7 @@ class SystemUtils
|
|||
{
|
||||
$memusage = 0;
|
||||
|
||||
if (stristr(PHP_OS, 'WIN')) {
|
||||
|
||||
} elseif (stristr(PHP_OS, 'LINUX')) {
|
||||
if (stristr(PHP_OS, 'LINUX')) {
|
||||
$free = shell_exec('free');
|
||||
$free = (string) trim($free);
|
||||
$free_arr = explode("\n", $free);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user