diff options
Diffstat (limited to 'plugin/filecount.php')
-rw-r--r-- | plugin/filecount.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/filecount.php b/plugin/filecount.php index 2c318a9..68545e7 100644 --- a/plugin/filecount.php +++ b/plugin/filecount.php | |||
@@ -23,7 +23,8 @@ 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 = 'Bytes'; | 26 | $obj->rrd_vertical = ucfirst($CONFIG['datasize']); |
27 | $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; | ||
27 | break; | 28 | break; |
28 | case 'files': | 29 | case 'files': |
29 | $obj->ds_names = array('value' => 'Files'); | 30 | $obj->ds_names = array('value' => 'Files'); |