Page MenuHomeIn-Portal Phabricator

D151.diff
No OneTemporary

File Metadata

Created
Sat, Apr 19, 5:35 PM

D151.diff

Index: branches/5.3.x/core/kernel/utility/factory.php
===================================================================
--- branches/5.3.x/core/kernel/utility/factory.php
+++ branches/5.3.x/core/kernel/utility/factory.php
@@ -121,6 +121,9 @@
$this->namespaceMap[$module_info['ClassNamespace']] = rtrim($module_info['Path'], '/');
}
+ // Don't let class map builder rely on auto-loader (especially during upgrade).
+ require_once KERNEL_PATH . '/utility/ClassDiscovery/ClassMapBuilder.php';
+
if ( defined('IS_INSTALL') && IS_INSTALL ) {
// During installation process all modules, because unit configs from all modules are scanned too.
$class_map_builders = ClassMapBuilder::createBuilders();

Event Timeline