Skip to content

Commit ef7dec6

Browse files
committed
Unregister Composer's autoloader from the stack
1 parent 93cd7c6 commit ef7dec6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

system/Autoloader/Autoloader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ protected function discoverComposerNamespaces()
312312
$paths = $composer->getPrefixesPsr4();
313313
$classes = $composer->getClassMap();
314314

315+
$composer->unregister();
315316
unset($composer);
316317

317318
// Get rid of CodeIgniter so we don't have duplicates

0 commit comments

Comments
 (0)