1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 05:00:56 +02:00

Turns out putting a . there breaks Laravel

This commit is contained in:
Toby Zerner
2015-03-29 22:27:37 +10:30
parent 40a6d77e74
commit 3886efffef

View File

@@ -85,7 +85,7 @@ class CoreServiceProvider extends ServiceProvider
$this->app->when('Flarum\Core\Handlers\Commands\UploadAvatarCommandHandler') $this->app->when('Flarum\Core\Handlers\Commands\UploadAvatarCommandHandler')
->needs('League\Flysystem\FilesystemInterface') ->needs('League\Flysystem\FilesystemInterface')
->give(function(Container $app) { ->give(function(Container $app) {
return $app->make('Illuminate\Contracts\Filesystem\Factory')->disk('flarum.avatars')->getDriver(); return $app->make('Illuminate\Contracts\Filesystem\Factory')->disk('flarum-avatars')->getDriver();
}); });
} }