Skip to content

Commit

Permalink
[src] Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Quan Zhao committed Nov 29, 2021
1 parent c8b9c44 commit 26c897c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_php_directive.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ ngx_http_php_set_run_file(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
php_execute_simple_script(&file_handle, retval );
#else
zend_stream_init_filename(&file_handle, code->code.file);
zend_stream_init_filename(&file_handle, filter_data->code->code.file);
if (php_execute_simple_script(&file_handle, retval ) == FAILURE) {
php_printf("Failed to execute PHP script.\n");
return NGX_CONF_ERROR;
Expand Down

0 comments on commit 26c897c

Please sign in to comment.