Add auto Twitter. Closes #2380

This commit is contained in:
James Brooks
2017-03-04 17:34:44 +00:00
parent c229fd1757
commit d966bc82b5
5 changed files with 159 additions and 89 deletions
+1
View File
@@ -176,6 +176,7 @@ return [
AltThree\Badger\BadgerServiceProvider::class,
AltThree\Emoji\EmojiServiceProvider::class,
AltThree\Logger\LoggerServiceProvider::class,
AltThree\Twitter\TwitterServiceProvider::class,
BackupManager\Laravel\Laravel5ServiceProvider::class,
Barryvdh\Cors\ServiceProvider::class,
Fideloper\Proxy\TrustedProxyServiceProvider::class,
+4 -1
View File
@@ -39,7 +39,10 @@ return [
|
*/
'extensions' => env('CACHET_EMOJI', false) ? ['AltThree\Emoji\EmojiExtension'] : [],
'extensions' => array_filter([
env('CACHET_EMOJI', false) ? 'AltThree\Emoji\EmojiExtension' : null,
env('CACHET_AUTO_TWITTER', true) ? 'AltThree\Twitter\TwitterExtension' : null,
]),
/*
|--------------------------------------------------------------------------