Merge pull request #269 from shreesh-webkul/qlo-openssl2

Replace mcrypt with openssl
This commit is contained in:
Rohit Jain
2021-10-26 19:38:45 +05:30
committed by GitHub
36 changed files with 3247 additions and 265 deletions

View File

@@ -87,6 +87,7 @@ class ConfigurationTestCore
'config_dir' => 'config',
'files' => false,
'mails_dir' => 'mails',
'openssl' => false,
'curl' => false,
'soap' => false,
'simplexml' => false,
@@ -113,7 +114,6 @@ class ConfigurationTestCore
'new_phpversion' => false,
'register_globals' => false,
'gz' => false,
'mcrypt' => false,
'mbstring' => false,
'magicquotes' => false,
'dom' => false,
@@ -146,12 +146,12 @@ class ConfigurationTestCore
public static function test_phpversion()
{
return version_compare(substr(phpversion(), 0, 5), '5.4.0', '>=');
return version_compare(substr(phpversion(), 0, 5), '5.6.0', '>=');
}
public static function test_new_phpversion()
{
return version_compare(substr(phpversion(), 0, 5), '5.4.0', '>=');
return version_compare(substr(phpversion(), 0, 5), '5.6.0', '>=');
}
public static function test_mysql_support()
@@ -401,9 +401,9 @@ class ConfigurationTestCore
return function_exists('mb_strtolower');
}
public static function test_mcrypt()
public static function test_openssl()
{
return function_exists('mcrypt_encrypt');
return function_exists('openssl_encrypt');
}
public static function test_sessions()