Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F847758
D151.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
Sat, Apr 19, 5:35 PM
Size
717 B
Mime Type
text/x-diff
Expires
Sun, Apr 20, 5:35 PM (7 m, 26 s)
Engine
blob
Format
Raw Data
Handle
602553
Attached To
D151: INP-1499 - Don't use auto-loader for inclusion of ClassMapBuilder class from kFactory
D151.diff
View Options
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
Log In to Comment