Commit 38203192202d7794467ea29b56961c73864b87de
1 parent
859a98ec
Merged in from DEV trunk...
KTS-3184 "Dashboard reflecting disk space incorrectly. It is showing the Gig amounts as Meg amounts" Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@8287 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
plugins/housekeeper/DiskUsageDashlet.inc.php
| ... | ... | @@ -98,12 +98,12 @@ class DiskUsageDashlet extends KTBaseDashlet |
| 98 | 98 | if (OS_WINDOWS) |
| 99 | 99 | { |
| 100 | 100 | $cmd = str_replace( '/','\\',$cmd); |
| 101 | - $res = KTUtil::pexec("\"$cmd\" 2>&1"); | |
| 101 | + $res = KTUtil::pexec("\"$cmd\" -B 1 2>&1"); | |
| 102 | 102 | $result = implode("\r\n",$res['out']); |
| 103 | 103 | } |
| 104 | 104 | else |
| 105 | 105 | { |
| 106 | - $result = shell_exec($cmd." 2>&1"); | |
| 106 | + $result = shell_exec($cmd." -B 1 2>&1"); | |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | if (strpos($result, 'cannot read table of mounted file systems') !== false) | ... | ... |