diff --git a/src/Encrypt.php b/src/Encrypt.php index f9309400..2c6ed5fa 100644 --- a/src/Encrypt.php +++ b/src/Encrypt.php @@ -22,7 +22,6 @@ use Traversable; use Zend\Stdlib\ArrayUtils; -use Zend\Loader; /** * Encrypts a given string @@ -84,7 +83,7 @@ public function setAdapter($options = null) $options = array(); } - if (Loader::isReadable('Zend/Filter/Encrypt/' . ucfirst($adapter). '.php')) { + if (stream_resolve_include_path('Zend/Filter/Encrypt/' . ucfirst($adapter). '.php')) { $adapter = 'Zend\\Filter\\Encrypt\\' . ucfirst($adapter); }