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:
@@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user