Skip to content

Commit

Permalink
Update bootstrap.php
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Mar 22, 2022
1 parent 87d1bf3 commit 62cef8b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions support/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@

Config::reload(config_path(), ['route', 'container']);

foreach (config('plugin', []) as $firm => $projects) {
foreach ($projects as $name => $project) {
foreach ($project['autoload']['files'] ?? [] as $file) {
include_once $file;
}
}
}

foreach (config('autoload.files', []) as $file) {
include_once $file;
}
Expand Down

0 comments on commit 62cef8b

Please sign in to comment.