Bring back file inclustion, just remove version check from it
Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
parent
072ff0b38a
commit
b69fa1499f
@ -30,6 +30,19 @@ if (! empty($_REQUEST['target'])) {
|
||||
*/
|
||||
require './libraries/plugins/auth/swekey/swekey.auth.lib.php';
|
||||
|
||||
/**
|
||||
* phpseclib
|
||||
*/
|
||||
if (! function_exists('openssl_encrypt')
|
||||
|| ! function_exists('openssl_decrypt')
|
||||
|| ! function_exists('openssl_random_pseudo_bytes')
|
||||
) {
|
||||
include PHPSECLIB_INC_DIR . '/Crypt/Base.php';
|
||||
include PHPSECLIB_INC_DIR . '/Crypt/Rijndael.php';
|
||||
include PHPSECLIB_INC_DIR . '/Crypt/AES.php';
|
||||
include PHPSECLIB_INC_DIR . '/Crypt/Random.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Handles the cookie authentication method
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user