diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/filecount.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/filecount.php b/plugin/filecount.php index 68545e7..2c318a9 100644 --- a/plugin/filecount.php +++ b/plugin/filecount.php | |||
@@ -23,8 +23,7 @@ switch($obj->args['type']) { | |||
23 | $obj->ds_names = array('value' => 'Size'); | 23 | $obj->ds_names = array('value' => 'Size'); |
24 | $obj->colors = array('value' => '0000ff'); | 24 | $obj->colors = array('value' => '0000ff'); |
25 | $obj->rrd_title = sprintf('Filecount: size (%s)', $obj->args['pinstance']); | 25 | $obj->rrd_title = sprintf('Filecount: size (%s)', $obj->args['pinstance']); |
26 | $obj->rrd_vertical = ucfirst($CONFIG['datasize']); | 26 | $obj->rrd_vertical = 'Bytes'; |
27 | $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; | ||
28 | break; | 27 | break; |
29 | case 'files': | 28 | case 'files': |
30 | $obj->ds_names = array('value' => 'Files'); | 29 | $obj->ds_names = array('value' => 'Files'); |