mirror of
https://github.com/flarum/core.git
synced 2025-08-16 21:34:08 +02:00
Merge branch 'master' into 1236-database-changes
This commit is contained in:
@@ -119,7 +119,13 @@ class Extension implements Arrayable
|
||||
return;
|
||||
}
|
||||
|
||||
$extenders = array_flatten((array) require $bootstrapper);
|
||||
$extenders = require $bootstrapper;
|
||||
|
||||
if (! is_array($extenders)) {
|
||||
$extenders = [$extenders];
|
||||
}
|
||||
|
||||
$extenders = array_flatten($extenders);
|
||||
|
||||
foreach ($extenders as $extender) {
|
||||
// If an extension has not yet switched to the new bootstrap.php
|
||||
|
Reference in New Issue
Block a user