This repository was archived by the owner on Jan 25, 2022. It is now read-only.
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
getcwd() in PHP returns /var/www instead of /projects/wplib.box/www [0.17.3] #515
Open
Description
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?