The php path problem project can be used only in the root directory of the website, but in a file, the path under the level-2 directory is wrong. How can this problem be solved? there are few absolute paths in it/xx
Reply to discussion (solution)
If/xx is available in the root directory of the website
In this case, the second-level directory/xx
Is there a good solution. Should I change it one by one?
If/xx is available in the root directory of the website
In this case, the level-2 directory/level-2 directory/xx does not work. Change to./xx.
Add a directory./in front of the level-2 Directory. Otherwise, a path error occurs.
If the server is controllable, set this file to audit AUL host, and set the root directory to 301 redir.
Be honest if you are not controllable
Nothing can be set during the operation. There is no better way. You can use IDE to search.
O (∩ _ ∩) O thank you. It is not a project I wrote. It cannot be changed using IDE, and some problems may occur elsewhere. You can only change the server. this is the safest option.