diff options
author | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2016-10-12 23:59:51 +0200 |
---|---|---|
committer | Guillaume Mazoyer <gmazoyer@gravitons.in> | 2016-10-12 23:59:51 +0200 |
commit | 2522e13ea2c294da8b0d0a987a1009b1abed30bb (patch) | |
tree | e9850307dabc8924f2c922580ba15085ae49d640 /libs/phpseclib-1.0.4/phpseclib/bootstrap.php | |
parent | eb6ee70db6ee4ba4872732cb866d1f39bf83ed46 (diff) |
Update phpseclib to 1.0.4.
Diffstat (limited to 'libs/phpseclib-1.0.4/phpseclib/bootstrap.php')
-rw-r--r-- | libs/phpseclib-1.0.4/phpseclib/bootstrap.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/phpseclib-1.0.4/phpseclib/bootstrap.php b/libs/phpseclib-1.0.4/phpseclib/bootstrap.php new file mode 100644 index 0000000..0da0999 --- /dev/null +++ b/libs/phpseclib-1.0.4/phpseclib/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.' + ); + } +} |