Skip to content

Commit

Permalink
optimize loading plugins - use only composer autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
falkenhawk committed Oct 20, 2017
1 parent f5f1f11 commit 01f21b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/Zend/Loader/PluginLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ public function load($name, $throwExceptions = true)
$found = true;
break;
}
// composer autoload should handle loading a class. class_exists call is enough
continue;

$paths = array_reverse($paths, true);

Expand Down

0 comments on commit 01f21b2

Please sign in to comment.