Getting to my webroot in wordpress

admin

Administrator
Staff member
I'm using WAMP on windows 8.1.<br>
My website is at: D:\program files\wamp\www\WEBSITE

Under website is:

Code:
/img
/css
Several PHP webpage files including my site header and footer&lt;
/BLOG &lt;-- (wordpress)

I'm trying to use my header and footer inside WordPress so I've had to change my header file paths of images to dynamic ones that start from the document root.

When I add
Code:
$_SERVER['DOCUMENT_ROOT']
it starts from
Code:
D:/...
and when I try using
Code:
/
in WordPress as webroot it starts from
Code:
/BLOG
instead of
Code:
/WEBSITE
.

How do I get my root to be
Code:
/WEBSITE
?