Commit 941f2cbc3b78242b02b053e89edb89bfef6d2ef5
1 parent
2006b7fd
Merged in from STABLE trunk...
KTS-3599 "Disk Usage does not work in Vista" Fixed. Committed By: Conrad Vermeulen Reviewed By: Megan Watson git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/branches/3.5.3-Release-Branch@9113 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
plugins/housekeeper/DiskUsageDashlet.inc.php
| @@ -48,6 +48,8 @@ class DiskUsageDashlet extends KTBaseDashlet | @@ -48,6 +48,8 @@ class DiskUsageDashlet extends KTBaseDashlet | ||
| 48 | 48 | ||
| 49 | function is_active($oUser) | 49 | function is_active($oUser) |
| 50 | { | 50 | { |
| 51 | + if (OS_WINDOWS && ((float) php_uname('r') >= 6)) return false; | ||
| 52 | + | ||
| 51 | $usage = KTUtil::getSystemSetting('DiskUsage'); | 53 | $usage = KTUtil::getSystemSetting('DiskUsage'); |
| 52 | if (empty($usage)) return false; | 54 | if (empty($usage)) return false; |
| 53 | $usage = unserialize($usage); | 55 | $usage = unserialize($usage); |