forked from GithubBackups/tinyib
Hide deprecated warnings in CAPTCHA script
This commit is contained in:
parent
e0bddde850
commit
2f357d6418
@ -11,6 +11,9 @@
|
|||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
putenv('GDFONTPATH=' . realpath(dirname(__FILE__)) . '/fonts/');
|
putenv('GDFONTPATH=' . realpath(dirname(__FILE__)) . '/fonts/');
|
||||||
|
|
||||||
|
error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED));
|
||||||
|
|
||||||
$captcha = new SimpleCaptcha();
|
$captcha = new SimpleCaptcha();
|
||||||
$captcha->CreateImage();
|
$captcha->CreateImage();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user