From cd57bf31ae576a178016209576c8a3c305c7b82f Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Mon, 3 Aug 2015 17:07:20 +0200 Subject: [PATCH] Add bootstrap.php checking environment (MB_OVERLOAD_STRING). --- composer.json | 3 +++ composer.lock | 2 +- phpseclib/bootstrap.php | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 phpseclib/bootstrap.php diff --git a/composer.json b/composer.json index 0a133cc5..fe695fe4 100644 --- a/composer.json +++ b/composer.json @@ -61,6 +61,9 @@ }, "include-path": ["phpseclib/"], "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], "psr-4": { "phpseclib\\": "phpseclib/" } diff --git a/composer.lock b/composer.lock index c98c8a4f..3e6e5c49 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "hash": "b24ab20be15b6312e532ee2ffa18d5fa", + "hash": "98a14889a81b2d6ecbb029483e954dec", "packages": [], "packages-dev": [ { diff --git a/phpseclib/bootstrap.php b/phpseclib/bootstrap.php new file mode 100644 index 00000000..0da0999f --- /dev/null +++ b/phpseclib/bootstrap.php @@ -0,0 +1,16 @@ +