attachDirStatus

Checks the status of an attachment directory and returns an array of the status key, if that status key signifies an error, and the file count.
Parameters Summary
string $dir
int $expected_files