|
- " . var_export($stat, true) . "");
+ h("" . var_export($stat, true) . "");
}
else {
- if (in_array($name, array( "size", "storageSize", "lastExtentSize", "totalIndexSize" ))) {
- $stat = round($stat/1024/1024, 2) . "m";
+ if (in_array($name, array( "size", "storageSize", "lastExtentSize", "totalIndexSize", "avgObjSize" ))) {
+ $stat = "" . r_human_bytes($stat) . "";
}
h($stat);
}
@@ -27,7 +27,7 @@
$stat):?>
|