[PATCH] php_resolve_path correctness update (broken in CVS as well)
| From: | Gregory Beaver | Date: | Sat, 08 Mar 2008 06:14:21 +0000 |
| Subject: | [PATCH] php_resolve_path correctness update (broken in CVS as well) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-36056@lists.php.net to get a copy of this message | ||
Hi,
php_resolve_path does not exit if passed a stream wrapper, but instead
tries to find it in include_path. This can cause really weird error
messages and breaks pecl/phar completely (and probably other stream
wrappers), so I added stream wrapper detection to the exit shunt in the
start of php_resolve_path.
The patch is otherwise the same as yesterday's.
Greg