mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:46:10 +08:00
parent
29904e02db
commit
3f37d68314
@ -15,13 +15,13 @@ use Flarum\Suspend\Listener;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
return [
|
||||
(new Extend\Assets('forum'))
|
||||
(new Extend\Frontend('forum'))
|
||||
->js(__DIR__.'/js/dist/forum.js')
|
||||
->asset(__DIR__.'/less/forum.less'),
|
||||
->css(__DIR__.'/less/forum.less'),
|
||||
|
||||
(new Extend\Assets('admin'))
|
||||
(new Extend\Frontend('admin'))
|
||||
->js(__DIR__.'/js/dist/admin.js')
|
||||
->asset(__DIR__.'/less/admin.less'),
|
||||
->css(__DIR__.'/less/admin.less'),
|
||||
|
||||
function (Dispatcher $events) {
|
||||
$events->subscribe(Listener\AddUserSuspendAttributes::class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user