mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update MediaStorageService
This commit is contained in:
parent
450154e5af
commit
07bc5d5c83
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class MediaStorageService {
|
||||||
protected function localToCloud($media)
|
protected function localToCloud($media)
|
||||||
{
|
{
|
||||||
$path = storage_path('app/'.$media->media_path);
|
$path = storage_path('app/'.$media->media_path);
|
||||||
$thumb = storage_path('app/'.$media->thumbnail_path);
|
$thumb = storage_path('app/'.$media->thumbnail_path);
|
||||||
|
|
||||||
$p = explode('/', $media->media_path);
|
$p = explode('/', $media->media_path);
|
||||||
$name = array_pop($p);
|
$name = array_pop($p);
|
||||||
|
|
Loading…
Reference in a new issue