diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-08 02:44:09 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-08 02:44:09 +0000 |
commit | a7ac507adeebd16351f1fe1495f91bef1ed41a4c (patch) | |
tree | 689169395134991bf2c2fcaa30e6f408c8baf229 | |
parent | 72479b90b317b5da1222a132c54fd6d19f252827 (diff) | |
download | php-git-a7ac507adeebd16351f1fe1495f91bef1ed41a4c.tar.gz |
Fixed bug #21499 (more descriptive message in the event of require/include
failure).
-rw-r--r-- | main/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c index 339480dd9d..f6e6396506 100644 --- a/main/main.c +++ b/main/main.c @@ -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: { |