diff --git a/app/system/system.php b/app/system/system.php index 98611f6cb6..0956ec6468 100644 --- a/app/system/system.php +++ b/app/system/system.php @@ -210,7 +210,7 @@ $document['title'] = $text['title-sys-status']; //linux if (stristr(PHP_OS, 'Linux')) { echo "\n"; if (strlen($shell_result) > 0) { @@ -237,7 +237,7 @@ $document['title'] = $text['title-sys-status']; //freebsd if (stristr(PHP_OS, 'FreeBSD')) { echo "\n"; if (strlen($shell_result) > 0) { @@ -267,7 +267,7 @@ $document['title'] = $text['title-sys-status']; //linux if (stristr(PHP_OS, 'Linux')) { echo "\n"; if (strlen($shell_result) > 0) { @@ -302,7 +302,7 @@ $document['title'] = $text['title-sys-status']; //freebsd if (stristr(PHP_OS, 'FreeBSD')) { echo "\n"; if (strlen($shell_result) > 0) { @@ -330,6 +330,10 @@ $document['title'] = $text['title-sys-status']; //drive space if (permission_exists('system_view_hdd')) { if (stristr(PHP_OS, 'Linux') || stristr(PHP_OS, 'FreeBSD')) { + echo "\n"; echo "
| ".$text['title-drive']." | \n"; @@ -340,8 +344,6 @@ $document['title'] = $text['title-sys-status']; echo " \n"; echo "\n";
echo "\n"; - $shellcmd = 'df -h'; - $shell_result = shell_exec($shellcmd); echo "$shell_result\n"; echo " | \n";
|
|---|---|---|