diff options
author | Andrey Andreev <narf@devilix.net> | 2014-02-13 02:01:31 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-02-13 02:01:31 +0100 |
commit | 3fd1b384273b7b6d56950bbad3e1fac18f5f82e4 (patch) | |
tree | b063e6c11901abb9384f829725cdc910d5f77a96 /tests/Bootstrap.php | |
parent | 1b4e5e15404cc767d9472dbf6dc091b506b69136 (diff) |
Introducing compatibility layers
- Limited support for mbstring (mb_strlen(), mb_strpos(), mb_substr() only) via iconv.
Falls back to regular strlen(), strpos(), substr() if iconv is not available.
- Password hashing, dependant on CRYPT_BLOWFISH (2y version, available since PHP 5.3.7) availability.
Diffstat (limited to 'tests/Bootstrap.php')
-rw-r--r-- | tests/Bootstrap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 7f10ea1d6..439c7fdab 100644 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -63,6 +63,9 @@ else defined('ICONV_ENABLED') OR define('ICONV_ENABLED', FALSE); } +include_once SYSTEM_PATH.'core/compat/mbstring.php'; +include_once SYSTEM_PATH.'core/compat/password.php'; + include_once $dir.'/mocks/autoloader.php'; spl_autoload_register('autoload'); |