mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-16 17:57:29 +00:00
Switch to mime.
This commit is contained in:
@@ -135,7 +135,7 @@ abstract class Controller extends BaseController
|
||||
* @var UploadedFile $file
|
||||
*/
|
||||
foreach ($files as $index => $file) {
|
||||
Log::channel('audit')->info(sprintf('File [%d/%d] upload attachment "%s", content is: "%s".', $index + 1, count($files), $file->getClientOriginalName(), base64_encode($file->getContent())));
|
||||
Log::channel('audit')->info(sprintf('File [%d/%d] upload attachment "%s", mime is: "%s".', $index + 1, count($files), $file->getClientOriginalName(), $file->getMimeType()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user