Hello,
I have sifted through the forums and have found no answer to my problem - sorry if the answer is obvious.
I have installed punbb and it works fine. I am now changing my website to a single login using the punbb framework.
I use dreamweaver and templates.
In my template I have placed:
define('PUN_ROOT', './forum/');
require PUN_ROOT.'include/common.php';
This works fine and I can access punbb's variables on my top index.php page (www.mydomain.com/index.php)
My problem occurs when I try to access them on a www.mydomain.com/admin/index.php because the paths screw up.
So I tried an absolute path in the template:
define('PUN_ROOT', '../../www.mydomain.org.uk/public_html/forum/');
This does not work either.
Can anyone suggest how:
1/ I can specify the absolute path; or
2/ Get dreamweaver to autmatically sort the link out - should it?
Cheers
[EDIT]: OK, I think I have got there. This relative / absolute addressing is difficult for a newbie!