Update config() to config_cache()

This commit is contained in:
Daniel Supernault 2021-05-10 21:11:43 -06:00
parent a9f009305c
commit c0e693cc73
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
7 changed files with 13 additions and 13 deletions

View file

@ -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',