also load app autoloader when located in /vendor#23125
also load app autoloader when located in /vendor#23125icewind1991 wants to merge 1 commit intomasterfrom
Conversation
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
/backport to stable20 |
|
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 33536: failurejsunitShow full log |
But you can |
Or just put it in |
juliusknorr
left a comment
There was a problem hiding this comment.
👍 from my side since vendor is actually the default target directory for installing composer packages without additional configuration of the vendor-dir
|
argh I'm so torn on this one. we have to check the file existence for every app. the os/fs will cache the result but still we do this. and if the require_once is in application.php (and we properly document this) it's explicit and less magical. |
Sounds sane 👍 |
ChristophWurst
left a comment
There was a problem hiding this comment.
Then I'll change my mind one more time. I'll do the docs update.
with the phasing out of
app.phpapps can no longer load the autoloader from there themselvesSee #21812