| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | public function loadGlobalConfig() |
||
| 42 | { |
||
| 43 | $resource = $this->application->getResource(); |
||
| 44 | if ($configPath = $resource->getConfigResourcePath('config/config')) { |
||
| 45 | $this->application->getConfig()->load($configPath); |
||
| 46 | } |
||
| 47 | if ($listenerPath = $resource->getConfigResourcePath('config/listener')) { |
||
| 48 | $this->application->loadEvent($listenerPath); |
||
| 49 | } |
||
| 62 | } |