Add a comment

This commit is contained in:
Franz Liedke 2016-05-12 23:03:37 +09:00
parent 006ea02227
commit 251862222c
No known key found for this signature in database
GPG Key ID: 9A0231A879B055F4

View File

@ -97,8 +97,8 @@ class UploadAvatarHandler
$manager = new ImageManager;
// Explicitly tell Intervention to encode the image as JSON (instead of having to guess from the extension)
$encodedImage = $manager->make($tmpFile)->fit(100, 100)->encode('jpg', 100);
file_put_contents($tmpFile, $encodedImage);
$this->events->fire(