Fixed bug relating to configuration files not being read properly.
- The plugins system wasn't properly registering the plugins config, because it was initialized at construct, which resulted in alternative directories not yet being loaded. The method has been changed to init() instead.
This commit is contained in:
parent
68c2aaa210
commit
c1b29cea5f
|
@ -89,12 +89,12 @@ class Plugins
|
|||
protected $cfg;
|
||||
|
||||
/**
|
||||
* Called upon creation of the plugins class.
|
||||
* Called upon initialization of the Container
|
||||
*
|
||||
* @throws ConfigException
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public function __construct()
|
||||
public function init()
|
||||
{
|
||||
$this->cfg = Factory::getInstance()->config->getConfig('plugins');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue