Update img.php

This commit is contained in:
FusionPBX 2016-12-11 22:56:15 -07:00 committed by GitHub
parent fd62f1fb44
commit 3a5bcc7c2f
1 changed files with 2 additions and 2 deletions

View File

@ -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);
?>
?>