mirror of
https://github.com/openvk/commitcaptcha.git
synced 2024-12-22 08:30:57 +03:00
Fix compatibility by changing WebP format 🤮 to JPEG 😎🥰🥺🏳️🌈
This commit is contained in:
parent
94bed7b5d0
commit
f3d6a3f3e0
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class CaptchaPresenter extends SimplePresenter
|
||||||
header("Pragma: no-cache");
|
header("Pragma: no-cache");
|
||||||
header("Expires: Wed, 12 Feb 2003 00:00:00 GMT");
|
header("Expires: Wed, 12 Feb 2003 00:00:00 GMT");
|
||||||
header("Cache-Control: no-cache, no-store, no-transform, must-revalidate");
|
header("Cache-Control: no-cache, no-store, no-transform, must-revalidate");
|
||||||
$image->send(Image::WEBP, 32);
|
$image->send(Image::JPEG);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue