Skip to content

Commit 6e2a023

Browse files
MAGETWO-88314: Renaming app/registration.php back to app/etc/NonComposerComponentRegistration.php to fix broken upgrades from previous versions
1 parent 57f4ad2 commit 6e2a023

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/registration.php renamed to app/etc/NonComposerComponentRegistration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*/
1818
function main()
1919
{
20-
$globPatterns = require __DIR__ . '/etc/registration_globlist.php';
21-
$baseDir = dirname(__DIR__) . '/';
20+
$globPatterns = require __DIR__ . '/registration_globlist.php';
21+
$baseDir = dirname(dirname(__DIR__)) . '/';
2222

2323
foreach ($globPatterns as $globPattern) {
2424
// Sorting is disabled intentionally for performance improvement

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
]
268268
},
269269
"files": [
270-
"app/registration.php"
270+
"app/etc/NonComposerComponentRegistration.php"
271271
],
272272
"exclude-from-classmap": [
273273
"**/dev/**",

0 commit comments

Comments
 (0)