kopia lustrzana https://github.com/pixelfed/pixelfed
Update StatusController
rodzic
8d32ff0589
commit
564fd93290
|
@ -279,7 +279,7 @@ class StatusController extends Controller
|
|||
$photos = 0;
|
||||
$videos = 0;
|
||||
foreach($mimes as $mime) {
|
||||
if(in_array($mime, $allowed) == false) {
|
||||
if(in_array($mime, $allowed) == false && $mime !== 'video/mp4') {
|
||||
continue;
|
||||
}
|
||||
if(str_contains($mime, 'image/')) {
|
||||
|
|
Ładowanie…
Reference in New Issue