1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 20:20:34 +02:00

Update for composer branch

This commit is contained in:
Toby Zerner
2015-10-13 12:29:22 +10:30
parent d76e27559e
commit d333a60aa4
18 changed files with 244 additions and 153 deletions

View File

@@ -1,5 +1,17 @@
<?php
require __DIR__.'/vendor/autoload.php';
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return 'Flarum\Embed\Extension';
use Flarum\Embed\Listener;
use Illuminate\Contracts\Events\Dispatcher;
return function (Dispatcher $events) {
$events->subscribe(Listener\AddEmbedRoute::class);
};