Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'Maks3w/feature/remove-legacy-loader'
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDotPro committed May 31, 2012
4 parents cccfba9 + 2717653 + b4dd364 + c63c74c commit 84670b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Encrypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

use Traversable;
use Zend\Stdlib\ArrayUtils;
use Zend\Loader;

/**
* Encrypts a given string
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 84670b1

Please sign in to comment.