Here is my problem, I ve got an old website which contains some modules like this,
root_dir
|-->module1
|-->module2
|-->module3
For my need I add a sublevel to this structure, like this,
root_dir
|-->module1
|-->module2
|-->submodule2.1
|-->module3
My problem is that each module include an "include.php" file which then include other files, so if I fix the first path of the include.php to ../include.php it will crash at the second include file...
Is there a good workaround here, besides duplicating all the files and fix the path of the include ?
Thx