| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Find theme plugin in path. |
||
| 64 | * |
||
| 65 | * @param string $theme |
||
| 66 | * @return null|string |
||
| 67 | */ |
||
| 68 | public static function find($theme) |
||
| 69 | { |
||
| 70 | $paths = App::path('Plugin'); |
||
| 71 | foreach ($paths as $path) { |
||
| 72 | $path = FS::clean($path . '/', DS); |
||
| 73 | $themeFolder = $path . $theme; |
||
| 74 | |||
| 83 |