registration: Initialize PSR-4 namespaces at same stage as normal autoloader
[lhc/web/wiklou.git] / includes / registration / ExtensionRegistry.php
index b000dc1..0eb6a9b 100644 (file)
@@ -246,6 +246,7 @@ class ExtensionRegistry {
                        }
                        if ( isset( $info['AutoloadNamespaces'] ) ) {
                                $autoloadNamespaces += $this->processAutoLoader( $dir, $info['AutoloadNamespaces'] );
+                               AutoLoader::$psr4Namespaces += $autoloadNamespaces;
                        }
 
                        // get all requirements/dependencies for this extension