Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
9e0e431d
Commit
9e0e431d
authored
Nov 16, 2011
by
tbrehm
Browse files
No commit message
No commit message
parent
00baa16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/lib/classes/monitor_tools.inc.php
View file @
9e0e431d
...
...
@@ -176,7 +176,7 @@ class monitor_tools {
$data
[
$email
][
'used'
]
=
trim
(
$quotafile
[
'1'
]);
unset
(
$quotafile
);
}
else
{
exec
(
'du -s '
.
escapeshellcmd
(
$filename
),
$out
);
exec
(
'du -s '
.
escapeshellcmd
(
'/var/vmail/'
.
$email_parts
[
1
]
.
'/'
.
$email_parts
[
0
]
),
$out
);
$parts
=
explode
(
' '
,
$out
[
0
]);
$data
[
$email
][
'used'
]
=
intval
(
$parts
[
0
])
*
1024
;
unset
(
$out
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment