diff --git a/plugins/captcha/crypt/cryptographp.fct.php b/plugins/captcha/crypt/cryptographp.fct.php index 88b8261..993595a 100644 --- a/plugins/captcha/crypt/cryptographp.fct.php +++ b/plugins/captcha/crypt/cryptographp.fct.php @@ -5,17 +5,20 @@ if (session_id() == "") session_start(); $_SESSION['cryptdir'] = dirname($cryptinstall); +/** + * Render Capthca + */ function dsp_crypt($cfg = 0, $reload = 1) { - // Affiche le cryptogramme echo ""; if ($reload) echo ""; echo "
  
"; } +/** + * Verify Code + */ function chk_crypt($code) { - - // V?rifie si le code est correct include ($_SESSION['configfile']); $code = addslashes ($code); $code = str_replace(' ', '', $code); // supprime les espaces saisis par erreur.