owncloud/core — pull request #8541 by LukasReschke (2014-05-11 13:51:55+00:00)
Title: Harden is sub directory

realpath() may return false in case the directory does not exist since we can not be sure how different PHP versions may behave here we do an additional check whether realpath returned false