|require with global variables [message #902286]
||Thu, 16 August 2012 14:28
| Sergei G
Registered: June 2012
My scripts start with line|
require $_SERVER['DOCUMENT_ROOT'] . '/../lib/host.inc.php';
where I initialize several variables. I have noticed that latest Eclipse PDT does not know the location of $_SERVER['DOCUMENT_ROOT'] and as a result it does not initialize any other variables referenced in include file.
Is there a way to configure PDT so it can know what the value of $_SERVER['DOCUMENT_ROOT'] is.
Powered by FUDForum
. Page generated in 0.02091 seconds