fix images not displaying
This commit is contained in:
parent
57b1d9ce55
commit
e018549989
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ class FileController extends Controller
|
|||
$none = [
|
||||
'name' => basename($noFile),
|
||||
'data' => file_get_contents($noFile),
|
||||
'mime' => getimagesizefromstring($noFile)['mime'],
|
||||
'mime' => getimagesize($noFile)['mime'],
|
||||
];
|
||||
|
||||
if (!$user->activated
|
||||
|
|
Reference in a new issue