Fix compatibility by changing WebP format 🤮 to JPEG 😎🥰🥺🏳️‍🌈

This commit is contained in:
veselcraft 2022-06-03 16:48:01 +03:00
parent 94bed7b5d0
commit f3d6a3f3e0
No known key found for this signature in database
GPG key ID: AED66BC1AC628A4E

View file

@ -14,7 +14,7 @@ class CaptchaPresenter extends SimplePresenter
header("Pragma: no-cache");
header("Expires: Wed, 12 Feb 2003 00:00:00 GMT");
header("Cache-Control: no-cache, no-store, no-transform, must-revalidate");
$image->send(Image::WEBP, 32);
$image->send(Image::JPEG);
exit;
}
}