Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/3rdparty.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'phpseclib/phpseclib/phpseclib/Math/BigInteger.php')
-rw-r--r--phpseclib/phpseclib/phpseclib/Math/BigInteger.php2
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();