I did this:
echo dirname(____FILE____)
and it keeps showing as full absolute path as
C:/Program Files (x86)/VertrigoServ/www/dir/file.php
Why is that? I expect it to show
dir/file.php
I am using WAMP which is Apache on Windows.
BTW, calling $_SERVER['DOCUMENT_ROOT']
does the same thing - it shows full path.