Skip to content

Commit

Permalink
No images.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed May 26, 2018
1 parent feea225 commit cac09af
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/EmojiServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,12 @@ class EmojiServiceProvider extends ServiceProvider
*/
public function boot()
{
$root = dirname(__DIR__);

if (!file_exists(config_path('emoji.php'))) {
$this->publishes([
$root.'/config/emoji.php' => config_path('emoji.php'),
], 'config');
__DIR__.'/config/emoji.php' => config_path('emoji.php'),
], 'laravel-emoji');
}

$this->publishes([
base_path('vendor/emojione/assets/png') => public_path('vendor/emojione/png'),
], 'public');

$this->publishes([
base_path('vendor/emojione/assets/sprites') => public_path('vendor/emojione/sprites'),
], 'sprites');

$this->registerBladeDirectiveIfNeeded();
}

Expand Down

0 comments on commit cac09af

Please sign in to comment.