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