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