Fix a PHP 8.1 error
This commit is contained in:
@@ -56,7 +56,6 @@ class captcha {
|
|||||||
require_once "resources/functions.php";
|
require_once "resources/functions.php";
|
||||||
|
|
||||||
//start the session
|
//start the session
|
||||||
ini_set("session.cookie_httponly", True);
|
|
||||||
if (!isset($_SESSION)) { session_start(); }
|
if (!isset($_SESSION)) { session_start(); }
|
||||||
|
|
||||||
//$_SESSION["captcha"] = substr(md5(uuid()), 0, 6);
|
//$_SESSION["captcha"] = substr(md5(uuid()), 0, 6);
|
||||||
|
|||||||
Reference in New Issue
Block a user