1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +02:00

Update for composer branch

This commit is contained in:
Toby Zerner
2015-10-11 16:35:01 +10:30
parent d0ef8e1c69
commit faa0b6f2ce
14 changed files with 48 additions and 125 deletions

View File

@@ -9,6 +9,9 @@
* file that was distributed with this source code.
*/
require __DIR__.'/vendor/autoload.php';
use Flarum\Markdown\Listener;
use Illuminate\Contracts\Events\Dispatcher;
return 'Flarum\Markdown\Extension';
return function (Dispatcher $events) {
$events->subscribe(Listener\FormatMarkdown::class);
};