Skip to content

Commit

Permalink
Merge pull request #1672 from zl59503020/patch-1
Browse files Browse the repository at this point in the history
Update Autoloader.php
  • Loading branch information
lonnieezell authored Jan 18, 2019
2 parents 82d56b9 + 4e21e9a commit 79d4d07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions system/Autoloader/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,11 @@ public function sanitizeFilename(string $filename): string
*/
protected function discoverComposerNamespaces()
{
if (! is_file(COMPOSER_PATH))
{
return false;
}

$composer = include COMPOSER_PATH;

$paths = $composer->getPrefixesPsr4();
Expand Down

0 comments on commit 79d4d07

Please sign in to comment.