Update config() to config_cache()
This commit is contained in:
parent
a9f009305c
commit
c0e693cc73
7 changed files with 13 additions and 13 deletions
|
@ -78,7 +78,7 @@ class StoryController extends Controller
|
|||
|
||||
protected function storePhoto($photo, $user)
|
||||
{
|
||||
$mimes = explode(',', config('pixelfed.media_types'));
|
||||
$mimes = explode(',', config_cache('pixelfed.media_types'));
|
||||
if(in_array($photo->getMimeType(), [
|
||||
'image/jpeg',
|
||||
'image/png',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue