Skip to content

Commit 9d6e343

Browse files
author
foobar
committed
Revert this.
1 parent 0f41757 commit 9d6e343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/fopen_wrappers.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,8 +348,8 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC)
348348
fp = NULL;
349349
}
350350
if (!fp) {
351+
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to open %s", filename);
351352
STR_FREE(SG(request_info).path_translated); /* for same reason as above */
352-
SG(request_info).path_translated = NULL;
353353
return FAILURE;
354354
}
355355

0 commit comments

Comments
 (0)