Skip to content

Commit 5761baf

Browse files
Conditionally register the extension
1 parent ab2d02e commit 5761baf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

config/markdown.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
|
4040
*/
4141

42-
'extensions' => [
43-
'AltThree\Emoji\EmojiExtension',
44-
],
42+
'extensions' => env('CACHET_EMOJI', false) ? ['AltThree\Emoji\EmojiExtension'] : [],
4543

4644
/*
4745
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)