Say I have a symlink from \'/one/directory/\' to \'/two/directory/\'.
\'/one/directory/\'
\'/two/directory/\'
If I echo dirname(dirname(\\__FILE__)), it returns
echo dirname(dirname(\\__FILE__))
Use readlink($path) to read the target of symbolic link.