diff --git a/resources/captcha/img.php b/resources/captcha/img.php index 10671c5ffd..21e8609a85 100644 --- a/resources/captcha/img.php +++ b/resources/captcha/img.php @@ -29,7 +29,7 @@ error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ); //hide notices and warnings //start the session ini_set("session.cookie_httponly", True); -session_start(); +if (!isset($_SESSION)) { session_start(); } // Captcha verification image ----------------------- // Description this page is used to verify the captcha @@ -121,4 +121,4 @@ header("Content-type: image/png"); // Using imagepng() results in clearer text compared with imagepng($im); imagedestroy($im); -?> \ No newline at end of file +?>