|Status:||patch - code needs review|
In the check_directory() and check_file() functions in help.php, there are a bunch of checks that will fail with a PHP notice if the file/directory doesn't exist. Also, checks such as whether the file is readable are a bit meaningless for non-existent items.
This patch updates the functions so that they bail out after the first test if the item does not exist. This avoids the PHP errors and meaningless information that is otherwise displayed.
Hope you can incorporate into the next release.