From be140913653b8ba7a71fc34360ed14ed0d7afd5f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 26 Oct 2017 19:16:05 +0200 Subject: [PATCH] Fix #140 --- System/SystemUtils.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/System/SystemUtils.php b/System/SystemUtils.php index e7e80cc49..b487aa92b 100644 --- a/System/SystemUtils.php +++ b/System/SystemUtils.php @@ -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);