Topic: Including index.php from punBB directory in other .php file
Let's say I have site www.domain.com and punBB installed in www.domain.com/punBB directory, but I want to load index.php inside .php file placed in root directory on www.domain.com. The problem is, when I'm including index.php from punBB directory inside other .php file, there are problems with finding files used by punBB - it's searching for them inside ./ rather than ./punBB/ which results in errors "file not found".
My question is - how can I include index.php file in other .php file, which is placed outside punBB directory ?
Thanks for help!