diff options
| -rw-r--r-- | sapi/aolserver/aolserver.c | 1 | ||||
| -rw-r--r-- | sapi/pi3web/pi3web_sapi.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c index 67ca6d5992..dc172e0069 100644 --- a/sapi/aolserver/aolserver.c +++ b/sapi/aolserver/aolserver.c @@ -429,6 +429,7 @@ php_ns_module_main(NSLS_D SLS_DC) file_handle.type = ZEND_HANDLE_FILENAME; file_handle.filename = SG(request_info).path_translated; file_handle.free_filename = 0; + file_handle.opened_path = NULL; php_ns_config(global_context, 0); if (php_request_startup(CLS_C ELS_CC PLS_CC SLS_CC) == FAILURE) { diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index 08beb7ad11..bd89121457 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -391,6 +391,7 @@ DWORD fnWrapperProc(LPCONTROL_BLOCK lpCB) file_handle.filename = lpCB->lpszFileName; file_handle.free_filename = 0; file_handle.type = ZEND_HANDLE_FILENAME; + file_handle.opened_path = NULL; CG(extended_info) = 0; init_request_info(sapi_globals, lpCB); |
