diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2016-11-09 18:43:39 +0100 |
---|---|---|
committer | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2016-11-09 18:43:39 +0100 |
commit | d7a1aa2d5b3be9466ca7dbb592b376eaf01ec3cb (patch) | |
tree | 07da35052534daf5fd7481ef963107b401f55031 /libs/phpseclib-1.0.5/bootstrap.php | |
parent | f2b17edd4b832d909709e45d903693396f2743c5 (diff) |
Update phpseclib to 1.0.5.
Diffstat (limited to 'libs/phpseclib-1.0.5/bootstrap.php')
-rw-r--r-- | libs/phpseclib-1.0.5/bootstrap.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/phpseclib-1.0.5/bootstrap.php b/libs/phpseclib-1.0.5/bootstrap.php new file mode 100644 index 0000000..0da0999 --- /dev/null +++ b/libs/phpseclib-1.0.5/bootstrap.php @@ -0,0 +1,16 @@ +<?php +/** + * Bootstrapping File for phpseclib + * + * @license http://www.opensource.org/licenses/mit-license.html MIT License + */ + +if (extension_loaded('mbstring')) { + // 2 - MB_OVERLOAD_STRING + if (ini_get('mbstring.func_overload') & 2) { + throw new \UnexpectedValueException( + 'Overloading of string functions using mbstring.func_overload ' . + 'is not supported by phpseclib.' + ); + } +} |