1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-03 03:37:52 +02:00

Update plugins/captcha/crypt/cryptographp.fct.php

This commit is contained in:
Sergey Romaneko
2012-09-26 14:27:05 +03:00
parent e2d86815f5
commit b27ccc0cac

View File

@@ -21,7 +21,7 @@ function dsp_crypt($cfg = 0, $reload = 1) {
function chk_crypt($code) {
include ($_SESSION['configfile']);
$code = addslashes ($code);
$code = str_replace(' ', '', $code); // supprime les espaces saisis par erreur.
$code = str_replace(' ', '', $code);
$code = ($difuplow ? $code : strtoupper($code));
switch (strtoupper($cryptsecure)) {
case "MD5" : $code = md5($code); break;