diff options
Diffstat (limited to 'libs/phpseclib-1.0.9/bootstrap.php')
-rw-r--r-- | libs/phpseclib-1.0.9/bootstrap.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libs/phpseclib-1.0.9/bootstrap.php b/libs/phpseclib-1.0.9/bootstrap.php new file mode 100644 index 0000000..95d5d6f --- /dev/null +++ b/libs/phpseclib-1.0.9/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.'
+ );
+ }
+}
|