File tree Expand file tree Collapse file tree 4 files changed +4
-13
lines changed
lib/internal/Magento/Framework/Autoload Expand file tree Collapse file tree 4 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 3535}
3636
3737AutoloaderRegistry::registerAutoloader (new ClassLoaderWrapper ($ composerAutoloader ));
38-
39- // Sets default autoload mappings, may be overridden in Bootstrap::create
40- \Magento \Framework \App \Bootstrap::populateAutoloader (BP , []);
Original file line number Diff line number Diff line change 2828}
2929
3030require_once __DIR__ . '/autoload.php ' ;
31+ // Sets default autoload mappings, may be overridden in Bootstrap::create
32+ \Magento \Framework \App \Bootstrap::populateAutoloader (BP , []);
33+
3134require_once BP . '/app/functions.php ' ;
3235
3336/* Custom umask value may be provided in optional mage_umask file in root */
Original file line number Diff line number Diff line change 236236 },
237237 "psr-0" : {
238238 "" : [
239- " app/code/" ,
240- " generated/code"
239+ " app/code/"
241240 ]
242241 },
243242 "files" : [
Original file line number Diff line number Diff line change 66namespace Magento \Framework \Autoload ;
77
88use Magento \Framework \App \Filesystem \DirectoryList ;
9- use Magento \Framework \Autoload \AutoloaderInterface ;
109use Magento \Framework \Filesystem \FileResolver ;
1110
1211/**
@@ -23,16 +22,9 @@ class Populator
2322 public static function populateMappings (AutoloaderInterface $ autoloader , DirectoryList $ dirList )
2423 {
2524 $ generationDir = $ dirList ->getPath (DirectoryList::GENERATED_CODE );
26- $ frameworkDir = $ dirList ->getPath (DirectoryList::LIB_INTERNAL );
2725
2826 $ autoloader ->addPsr4 ('Magento \\' , [$ generationDir . '/Magento/ ' ], true );
2927
30- $ autoloader ->addPsr0 ('Cm_ ' , $ frameworkDir , true );
31- $ autoloader ->addPsr0 ('Credis_ ' , $ frameworkDir , true );
32-
33- /** Required for Zend functionality */
34- FileResolver::addIncludePath ($ frameworkDir );
35-
3628 /** Required for code generation to occur */
3729 FileResolver::addIncludePath ($ generationDir );
3830
You can’t perform that action at this time.
0 commit comments