diff options
Diffstat (limited to 'type/Default.class.php')
-rw-r--r-- | type/Default.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index 48460f3..07e17aa 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
@@ -118,9 +118,9 @@ class Type_Default { | |||
118 | $this->args['plugin'], strlen($this->args['pinstance']) ? '-' : '', $this->args['pinstance'], | 118 | $this->args['plugin'], strlen($this->args['pinstance']) ? '-' : '', $this->args['pinstance'], |
119 | $this->args['type'], strlen($this->args['tinstance']) ? '-' : '', $this->args['tinstance']); | 119 | $this->args['type'], strlen($this->args['tinstance']) ? '-' : '', $this->args['tinstance']); |
120 | 120 | ||
121 | $wildcard = strlen($this->args['tinstance']) ? '' : '*'; | 121 | $wildcard = strlen($this->args['tinstance']) ? '.' : '[-.]*'; |
122 | 122 | ||
123 | $files = glob($this->datadir .'/'. $identifier . $wildcard . '.rrd'); | 123 | $files = glob($this->datadir .'/'. $identifier . $wildcard . 'rrd'); |
124 | 124 | ||
125 | return $files; | 125 | return $files; |
126 | } | 126 | } |