wplib-box
wplib-box copied to clipboard
getcwd() in PHP returns /var/www instead of /projects/wplib.box/www [0.17.3]
So if I run getcwd() in PHP returns it returns /www/var instead of the expected /projects/wplib.box.
I assume this is because rather than change the configuration to use /projects/wplib.box/www you just symlinked? Let's discuss the pros and cons of this and possible make a change.
Also, I have not been able to find a way to access files in the project directory such as '/projects/wplib.box/HOSTNAME'. I tried accessing via /vagrant for short term sake but it seems we have disabled that?
/var/www is actually the mount-point within all the containers. We can't reasonably move to /projects/wplib.box for 0.17.1. So I've punted this to later.