title: realpath returns empty string
body: <p>I use MediaWiki but there is an error. I found it in the files. There is line with this code: </p>
  
  <pre><code>$IP = realpath( '.' );
  </code></pre>
  
  <p>But $IP returns an empty string, so the path to the files in the system is not working. (for example if $IP would be <code>.</code> or <code>E:/path_to_wwwroot</code> it works). How can I solve the problem. Is it possible that my provider blocked access to realpath?</p>
  
  <p>Thanks!</p>