ok, i fixed it. I just added added some chdir stuff to the beginning of pluhnews.php where the requires are called:
Code:
chdir("./forums");
require("./global.php");
require("./PluhConfig.php");
require("./admin/config.php");
chdir("..");
I'm not sure if that's the best way, but it works.... but then I started getting that weird "Cannot add header information" error. But luckily I found the answer a few pages back. I just moved the requires including the chdir statements out of the PluhNew.php file and put them above the <html> tag in my /index.php file. Seems to work.
If anyone knows of a better solution. Feel free to point it out. Optimization is good.