<nickvergessen> i think the problem is
<nickvergessen> realpath (php) docs say
<nickvergessen> realpath() returns FALSE on failure, e.g. if the file does not exist. 
<nickvergessen> and he mostly copied that behaviour
<nickvergessen> and looking into https://github.com/phpbb/phpbb/blob/develop/phpBB/includes/functions.php#L1017
<nickvergessen> its not really the best idea to change it
<nickvergessen> becuase that will make results from with and without the functions different
<nickvergessen> basically we need a new function to do what we want to do there
<nickvergessen> so the behaviour of phpbb_realpath is consistent and independet from whether php realpath() is there or not