Merge branch '1.0' into 2.0

This commit is contained in:
terrafrost 2017-10-05 05:28:47 -05:00
commit d1470644a2

View File

@ -493,7 +493,7 @@ abstract class Base
// Determining whether inline crypting can be used by the cipher // Determining whether inline crypting can be used by the cipher
if ($this->use_inline_crypt !== false) { if ($this->use_inline_crypt !== false) {
$this->use_inline_crypt = version_compare(PHP_VERSION, '5.3.0') || function_exists('create_function'); $this->use_inline_crypt = version_compare(PHP_VERSION, '5.3.0') >= 0 || function_exists('create_function');
} }
} }