This commit is contained in:
Dennis Eichhorn 2017-10-26 19:16:05 +02:00
parent 8129077da5
commit be14091365

View File

@ -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);