Commit 9e0e431d authored by tbrehm's avatar tbrehm
Browse files

No commit message

No commit message
parent 00baa16a
......@@ -176,7 +176,7 @@ class monitor_tools {
$data[$email]['used'] = trim($quotafile['1']);
} 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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment