Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the check_directory() and check_file() functions in help.php, ther…
…e 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 commit 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. Logged as an issue at ProjectPier, with patch file attached: http://www.projectpier.org/node/3244
- Loading branch information