Hide deprecated warnings in CAPTCHA script

This commit is contained in:
Trevor Slocum 2023-09-24 23:38:31 -07:00
parent e0bddde850
commit 2f357d6418

View file

@ -11,6 +11,9 @@
session_start();
putenv('GDFONTPATH=' . realpath(dirname(__FILE__)) . '/fonts/');
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));
$captcha = new SimpleCaptcha();
$captcha->CreateImage();