I am building a dynamic site so certain includes will happen from different file directories, as such I need them to be dynamic so I was attempting to manage them using:
<?php echo $_SERVER[‘SITE_HTMLROOT’] . “/somedir/css/mycssfile.css”;
And it APPEARED to fix the issue, but now since I turned on error reporting I am not sure since I am receiving this error:
Notice: Undefined index: SITE_HTMLROOT in /var/www/vhosts/mydomain.com/httpdocs/somedir/inc_header.inc on line 14
Anyone have any ideas why this might be and a possible solution? Let me know if you need more detailed info.