Hi,
If i use this code
include $_SERVER['DOCUMENT_ROOT'] . '/path/to/script.php';
it sort of works, it links to the correct location, but the file still isnt included in the document.
if i do
echo $_SERVER['DOCUMENT_ROOT'] . "/latest/functions/company_functions.php";
i get
/vhosts/test/htdocs/latest/functions/company_functions.php
which is the correct absolute path on the server. Am i missing somthing?
Kind Regards