mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Modify en/decryption functions to be openssl-based - mcrypt_* functions are now deprecated as of PHP 7.1.0
This commit is contained in:
@@ -241,7 +241,7 @@
|
||||
}
|
||||
echo "<input type='submit' id='btn_login' class='btn' style='width: 100px; margin-top: 15px;' value='".$text['button-login']."'>\n";
|
||||
if (
|
||||
function_exists('mcrypt_encrypt') &&
|
||||
function_exists('openssl_encrypt') &&
|
||||
$_SESSION['login']['password_reset_key']['text'] != '' &&
|
||||
$_SESSION['email']['smtp_host']['text'] != ''
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user