ChenXiu Posted August 11, 2021 Share Posted August 11, 2021 (edited) Is there a line of code to put on top of files that require other files, so no matter where I move them I don't have to change the ../../ stuff? Edited August 11, 2021 by ChenXiu Quote Link to comment https://forums.phpfreaks.com/topic/313531-setting-directory-structure/ Share on other sites More sharing options...
Solution gw1500se Posted August 11, 2021 Solution Share Posted August 11, 2021 Yes. Specify an absolute path (i.e. use a leading '/' in the path name). Quote Link to comment https://forums.phpfreaks.com/topic/313531-setting-directory-structure/#findComment-1589020 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.