Uh oh!
There was an error while loading. Please reload this page.
also load app autoloader when located in /vendor - #23125
Conversation
Signed-off-by: Robin Appelman <robin@icewind.nl>
icewind1991
commented
Oct 1, 2020
/backport to stable20 |
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 33536: failurejsunitShow full log |
ChristophWurst
commented
Oct 2, 2020
But you can |
MorrisJobke
commented
Oct 6, 2020
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
ChristophWurst
commented
Nov 10, 2020
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. |
MorrisJobke
commented
Nov 10, 2020
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