mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Fix enable extension in EntensionManager
This commit is contained in:
parent
06483dbfb1
commit
2e5e9f3fdc
|
@ -49,6 +49,8 @@ class ExtensionManager
|
|||
public function enable($extension)
|
||||
{
|
||||
if (! $this->isEnabled($extension)) {
|
||||
$enabled = $this->getEnabled();
|
||||
|
||||
$enabled[] = $extension;
|
||||
|
||||
$class = $this->load($extension);
|
||||
|
|
Loading…
Reference in New Issue
Block a user