$IP is "install path", not "internet protocol". It contains the location where your wiki is installed.

You can output the values of those variables with error_log() to see what they actually contain.