| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 34 | protected function _getResultFile() |
||
| 35 | { |
||
| 36 | // Normalize relative path |
||
| 37 | $relPath = Slug::filter($this->_hash, '_'); |
||
| 38 | $relPath = Str::low($relPath); |
||
| 39 | |||
| 40 | if (!$this->_options->get('debug')) { |
||
| 41 | $relPath .= '.min'; |
||
| 42 | } |
||
| 43 | |||
| 44 | // Get full clean path |
||
| 45 | $fullPath = FS::real($this->_options->get('cache_path')) . '/' . $relPath . '.css'; |
||
| 46 | $fullPath = FS::clean($fullPath); |
||
| 47 | |||
| 48 | return $fullPath; |
||
| 49 | } |
||
| 50 | } |
||
| 51 |