[bugfix: #962] is_link warnings if open_basedir

http://support.silisoftware.com/phpBB3/viewtopic.php?t=961
http://support.silisoftware.com/phpBB3/viewtopic.php?t=962