I've got a staging environment where in need to install Craft 3 in the web root rather than above the root as in normally recommended. Like so:
my-project.test/web config/ storage/ templates/ vendor/ .env .env.example composer.json craft.bat index.php
I'm struggling to set the correct CRAFT_BASE_PATH for this configuration. I've tried using the full path to the web root with no success in addition to some variations on using DIR. Can anyone point me in the right direction?