I made a project using php but i have worked inside the root folder without any directory, now i add a new folder because i need to give it to a person but the old paths on the class's are defined to the new ones.
"..oot\pfc\index.php"
-> New path
"..oot\index.php
" -> Old path, all the classes path are referenced to here
I think i need a config.php but i don't know which variable i need to use.
I have tried to use realpath( dirname(__FILE__).'/..');