Log in

View Full Version : Debugger Information - Included PHP File Path


Chris8
04-09-2012, 04:39 PM
I have no problem here, just my noobish curiosity.
The question is:
When a file is included under the forum root directory (for example: include(DIR.'/something/something.php');) debugger information shows just part of the path for the included files (something/something.php)
But when it's included from the parent directory (for example: include(DIR.'/../something/something.php'); then it shows full servers path (usr/www/virtual/xxxxxx/xxxxx/xxxxx/something/something.php)
Why it happens this way? Any ideas? :)