diff options
Diffstat (limited to 'sapi/servlet/servlet.c')
-rw-r--r-- | sapi/servlet/servlet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c index a8ecd3a8d9..dda106fe4a 100644 --- a/sapi/servlet/servlet.c +++ b/sapi/servlet/servlet.c @@ -348,7 +348,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send */ SETSTRING( SG(request_info).path_translated, pathTranslated ); #ifdef VIRTUAL_DIR - retval = php_fopen_primary_script(&file_handle); + retval = php_fopen_primary_script(&file_handle TSRMLS_CC); #else /* * The java runtime doesn't like the working directory to be @@ -356,7 +356,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send * in the hopes that Java doesn't notice. */ getcwd(cwd,MAXPATHLEN); - retval = php_fopen_primary_script(&file_handle); + retval = php_fopen_primary_script(&file_handle TSRMLS_CC); chdir(cwd); #endif |