#554 Function exist crashes

open
nobody
5
2012-05-04
2012-05-04
Anonymous
No

Function exist crashes when used to check if an empty directory string exists:

Steps to reproduce:
exist('', 'dir')

Discussion