mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Add BootForum event so extensions can add assets
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Flarum\Support\AssetManager;
|
||||
use Flarum\Forum\Events\BootForum;
|
||||
|
||||
class ForumServiceProvider extends ServiceProvider
|
||||
{
|
||||
@@ -23,6 +24,8 @@ class ForumServiceProvider extends ServiceProvider
|
||||
$root.'/less/forum/app.less'
|
||||
]);
|
||||
|
||||
event(new BootForum($this->app));
|
||||
|
||||
$this->publishes([
|
||||
$root.'/public/fonts' => public_path('flarum/fonts')
|
||||
]);
|
||||
|
Reference in New Issue
Block a user