summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-22 05:43:31 +0000
committerSascha Schumann <sas@php.net>2000-08-22 05:43:31 +0000
commit479a96ed89ca45f50d3b7f1d1dfc7e4e9aa256f2 (patch)
tree6c313d766e4c6c7c04f5b73b7445cf86d64c98e1 /sapi
parent732f891f3c3013a83144d4370fc524e810fbee7d (diff)
downloadphp-git-479a96ed89ca45f50d3b7f1d1dfc7e4e9aa256f2.tar.gz
Set file_handle.opened_path to NULL
Diffstat (limited to 'sapi')
-rw-r--r--sapi/aolserver/aolserver.c1
-rw-r--r--sapi/pi3web/pi3web_sapi.c1
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);