diff options
Diffstat (limited to 'type/Default.class.php')
| -rw-r--r-- | type/Default.class.php | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index b8650dc..dec583b 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
| @@ -62,6 +62,7 @@ class Type_Default { | |||
| 62 | 'host' => GET('h'), | 62 | 'host' => GET('h'), |
| 63 | 'plugin' => GET('p'), | 63 | 'plugin' => GET('p'), |
| 64 | 'pinstance' => GET('pi'), | 64 | 'pinstance' => GET('pi'), |
| 65 | 'category' => GET('c'), | ||
| 65 | 'type' => GET('t'), | 66 | 'type' => GET('t'), |
| 66 | 'tinstance' => GET('ti'), | 67 | 'tinstance' => GET('ti'), |
| 67 | ); | 68 | ); |
| @@ -120,9 +121,14 @@ class Type_Default { | |||
| 120 | } | 121 | } |
| 121 | 122 | ||
| 122 | function get_filenames() { | 123 | function get_filenames() { |
| 123 | $identifier = sprintf('%s/%s%s%s/%s%s%s', $this->args['host'], | 124 | $identifier = sprintf('%s/%s%s%s%s%s/%s%s%s', |
| 124 | $this->args['plugin'], strlen($this->args['pinstance']) ? '-' : '', $this->args['pinstance'], | 125 | $this->args['host'], |
| 125 | $this->args['type'], strlen($this->args['tinstance']) ? '-' : '', $this->args['tinstance']); | 126 | $this->args['plugin'], |
| 127 | strlen($this->args['category']) ? '-' : '', $this->args['category'], | ||
| 128 | strlen($this->args['pinstance']) ? '-' : '', $this->args['pinstance'], | ||
| 129 | $this->args['type'], | ||
| 130 | strlen($this->args['tinstance']) ? '-' : '', $this->args['tinstance'] | ||
| 131 | ); | ||
| 126 | 132 | ||
| 127 | $wildcard = strlen($this->args['tinstance']) ? '.' : '[-.]*'; | 133 | $wildcard = strlen($this->args['tinstance']) ? '.' : '[-.]*'; |
| 128 | 134 | ||
