Update security.php
This commit is contained in:
parent
fa2d3aadda
commit
03c19b86db
|
@ -481,7 +481,7 @@ if(!function_exists("decapsulate_text")) {
|
||||||
$decrypted_text = "";
|
$decrypted_text = "";
|
||||||
|
|
||||||
// initialize text
|
// initialize text
|
||||||
$init_text = base64_decode($text);
|
$init_text = get_hashed_text($text, "base64", array("decode" => true));
|
||||||
|
|
||||||
if($algo = "base64") {
|
if($algo = "base64") {
|
||||||
$decapsulate_text = $init_text;
|
$decapsulate_text = $init_text;
|
||||||
|
@ -496,7 +496,7 @@ if(!function_exists("decapsulate_text")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!empty($encrypted_text)) {
|
if(!empty($encrypted_text)) {
|
||||||
$decapsulate_text = base64_decode($decrypted_text);
|
$decapsulate_text = get_hashed_text($decrypted_text, "base64", array("decode" => true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user