mirror of
https://github.com/flarum/core.git
synced 2025-10-27 05:31:29 +01:00
Update for composer branch
This commit is contained in:
@@ -9,6 +9,9 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
require __DIR__.'/vendor/autoload.php';
|
||||
use Flarum\BBCode\Listener;
|
||||
use Illuminate\Contracts\Events\Dispatcher;
|
||||
|
||||
return 'Flarum\BBCode\Extension';
|
||||
return function (Dispatcher $events) {
|
||||
$events->subscribe(Listener\FormatBBCode::class);
|
||||
};
|
||||
Reference in New Issue
Block a user