Please sign in to comment.
Handle .php files differently in file_exists
Consider the following code if (file_exists('blub.php')) require_once ('blub.php'); which can fail because of 2 reasons: 1. blub.php is compiled with all the other files, but is no longer present at runtime. 2. blub.php is not compiled, but does exist in the filesystem. The patch fixes the first case where file_exists now returns true and adds a workaround for the second case where we now pretend that the file does not exist.
- Loading branch information...
Showing with 47 additions and 0 deletions.