1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-12-03 10:07:47 +01:00

Merge branch 'master' into php5

* master:
  add error suppression to phpinfo()
This commit is contained in:
Andreas Fischer 2014-03-30 17:23:42 +02:00
commit 51fbabd6d6
2 changed files with 2 additions and 2 deletions

View File

@ -477,7 +477,7 @@ class Crypt_RSA
case extension_loaded('openssl') && version_compare(PHP_VERSION, '4.2.0', '>=') && file_exists($this->configFile):
// some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work
ob_start();
phpinfo();
@phpinfo();
$content = ob_get_contents();
ob_end_clean();

View File

@ -273,7 +273,7 @@ class Math_BigInteger
if (function_exists('openssl_public_encrypt') && !defined('MATH_BIGINTEGER_OPENSSL_DISABLE') && !defined('MATH_BIGINTEGER_OPENSSL_ENABLED')) {
// some versions of XAMPP have mismatched versions of OpenSSL which causes it not to work
ob_start();
phpinfo();
@phpinfo();
$content = ob_get_contents();
ob_end_clean();