diff options
Diffstat (limited to 'phpseclib/phpseclib/phpseclib/Math/BigInteger.php')
-rw-r--r-- | phpseclib/phpseclib/phpseclib/Math/BigInteger.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpseclib/phpseclib/phpseclib/Math/BigInteger.php b/phpseclib/phpseclib/phpseclib/Math/BigInteger.php index fc24b914..7c0b0a8d 100644 --- a/phpseclib/phpseclib/phpseclib/Math/BigInteger.php +++ b/phpseclib/phpseclib/phpseclib/Math/BigInteger.php @@ -268,7 +268,7 @@ class BigInteger $versions = array(); // avoid generating errors (even with suppression) when phpinfo() is disabled (common in production systems) - if (strpos(ini_get('disable_functions'), 'phpinfo') === false) { + if (function_exists('phpinfo')) { ob_start(); @phpinfo(); $content = ob_get_contents(); |