diff options
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/main/main.c b/main/main.c index 1f3303304d..006032f498 100644 --- a/main/main.c +++ b/main/main.c @@ -921,6 +921,7 @@ int _php3_hash_environment(PLS_D ELS_DC) case 'g': case 'G': if (!_gpc_flags[2]) { + printf("Parsing GET data: '%s'\n", SG(request_info).query_string); php3_treat_data(PARSE_GET, NULL); /* GET Data */ _gpc_flags[2]=1; } @@ -1188,7 +1189,7 @@ PHPAPI void php_execute_script(zend_file_handle *primary_file CLS_DC ELS_DC PLS_ /* some systems are missing these from their header files */ #if APACHE -PHPAPI int apache_php3_module_main(request_rec *r, int fd, int display_source_mode) +PHPAPI int apache_php3_module_main(request_rec *r, int fd, int display_source_mode SLS_DC) { zend_file_handle file_handle; #ifdef ZTS @@ -1201,8 +1202,6 @@ PHPAPI int apache_php3_module_main(request_rec *r, int fd, int display_source_mo #endif SLS_FETCH(); - SG(server_context) = r; - if (php_request_startup(CLS_C ELS_CC PLS_CC SLS_CC) == FAILURE) { return FAILURE; } |