Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function init() |
||
15 | { |
||
16 | parent::init(); |
||
17 | PrettyPhoto::include_code(); |
||
18 | Requirements::themedCSS("DesignersPage", "designers"); |
||
19 | Config::inst()->Update("PrettyPhoto", "theme", "dark_rounded");//"dark_rounded", "dark_square", "facebook", "light_rounded", "light_square" OR create your own! |
||
20 | Config::inst()->Update("PrettyPhoto", "more_config", "AnimationSpeed: 'slow', opacity: 0.30, showTitle: false");//see readme for some examples! |
||
21 | } |
||
22 | } |
||
23 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.