Conditionally register the extension

This commit is contained in:
Graham Campbell
2016-01-18 09:23:44 +00:00
parent ab2d02edea
commit 5761baf3f9

View File

@@ -39,9 +39,7 @@ return [
|
*/
'extensions' => [
'AltThree\Emoji\EmojiExtension',
],
'extensions' => env('CACHET_EMOJI', false) ? ['AltThree\Emoji\EmojiExtension'] : [],
/*
|--------------------------------------------------------------------------