| Conditions | 4 |
| Paths | 3 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function init() |
||
| 35 | { |
||
| 36 | // Append skin color file if specified |
||
| 37 | if ($this->skin) { |
||
| 38 | if (('_all-skins' !== $this->skin) && (strpos($this->skin, 'skin-') !== 0)) { |
||
| 39 | throw new Exception('Invalid skin specified'); |
||
| 40 | } |
||
| 41 | $this->css[] = sprintf('css/skins/%s.min.css', $this->skin); |
||
| 42 | } |
||
| 43 | parent::init(); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |