[FIX] to get the correct path from current script using dirname() it is always better to use REQUEST_URI instead of PHP_SELF server var (fixes https://dev.tiki.org/bug5110)

git-svn-id: file:///var/local/code.tiki.org/tikisvn/branches/13.x@51982 b456876b-0849-0410-b77d-98878d47e9d5