Fixes regression bug w/ expPermissions preventing check permissions from working in php v5.2
Fixes regression bug in elFinder which would prevent it from working/display files when using php v5.6 with error reporting turned on