Check if realpath() returns false
realpath() returns false in case the directory does not exist. Found it while preparing strict_typing for PHP7+.
Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
Loading
Please register or sign in to comment