Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1245621
D151.id366.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 21, 7:33 AM
Size
672 B
Mime Type
text/x-diff
Expires
Sat, Nov 22, 7:33 AM (21 h, 19 s)
Engine
blob
Format
Raw Data
Handle
809906
Attached To
D151: INP-1499 - Don't use auto-loader for inclusion of ClassMapBuilder class from kFactory
D151.id366.diff
View Options
Index: core/kernel/utility/factory.php
===================================================================
--- core/kernel/utility/factory.php
+++ 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
Log In to Comment