mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed bug #21499 (more descriptive message in the event of require/include
failure).
This commit is contained in:
parent
72479b90b3
commit
a7ac507ade
1 changed files with 2 additions and 2 deletions
|
@ -752,13 +752,13 @@ static void php_message_handler_for_zend(long message, void *data)
|
|||
case ZMSG_FAILED_INCLUDE_FOPEN: {
|
||||
TSRMLS_FETCH();
|
||||
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed opening '%s' for inclusion (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path)));
|
||||
php_error_docref("function.include" TSRMLS_CC, E_WARNING, "Failed opening '%s' for inclusion (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path)));
|
||||
}
|
||||
break;
|
||||
case ZMSG_FAILED_REQUIRE_FOPEN: {
|
||||
TSRMLS_FETCH();
|
||||
|
||||
php_error_docref(NULL TSRMLS_CC, E_COMPILE_ERROR, "Failed opening required '%s' (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path)));
|
||||
php_error_docref("function.require" TSRMLS_CC, E_COMPILE_ERROR, "Failed opening required '%s' (include_path='%s')", php_strip_url_passwd((char *) data), STR_PRINT(PG(include_path)));
|
||||
}
|
||||
break;
|
||||
case ZMSG_FAILED_HIGHLIGHT_FOPEN: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue