mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-26 08:38:29 +00:00
- auto loading fixes (thanks skydiablo)
This commit is contained in:
parent
b6fb381ac2
commit
1e3778dc4f
@ -72,17 +72,23 @@
|
||||
/**
|
||||
* Include Math_BigInteger
|
||||
*/
|
||||
require_once('Math/BigInteger.php');
|
||||
if (!class_exists('Math_BigInteger')) {
|
||||
require_once('Math/BigInteger.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Crypt_Random
|
||||
*/
|
||||
require_once('Crypt/Random.php');
|
||||
if (!function_exists('crypt_random')) {
|
||||
require_once('Crypt/Random.php');
|
||||
}
|
||||
|
||||
/**
|
||||
* Include Crypt_Hash
|
||||
*/
|
||||
require_once('Crypt/Hash.php');
|
||||
if (!class_exists('Crypt_Hash')) {
|
||||
require_once('Crypt/Hash.php');
|
||||
}
|
||||
|
||||
/**#@+
|
||||
* @access public
|
||||
|
@ -104,7 +104,7 @@ if (!class_exists('Crypt_RC4')) {
|
||||
/**
|
||||
* Include Crypt_Random
|
||||
*/
|
||||
if (!class_exists('Crypt_Random')) {
|
||||
if (!function_exists('crypt_random')) {
|
||||
require_once('Crypt/Random.php');
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ if (!class_exists('Math_BigInteger')) {
|
||||
/**
|
||||
* Include Crypt_Random
|
||||
*/
|
||||
if (!class_exists('Crypt_Random')) {
|
||||
if (!function_exists('crypt_random')) {
|
||||
require_once('Crypt/Random.php');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user