mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
fixed recurrent entrance to add_cgi_vars
This commit is contained in:
parent
6aaa7bc345
commit
0ad980c667
2 changed files with 19 additions and 20 deletions
|
@ -71,7 +71,6 @@ int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRM
|
|||
signal(SIGCHLD, sigchld_handler);
|
||||
#endif
|
||||
if(AP(current_hook) == AP_RESPONSE) {
|
||||
fprintf(stderr, "in Response\n");
|
||||
if (php_request_startup_for_hook(TSRMLS_C) == FAILURE)
|
||||
return FAILURE;
|
||||
}
|
||||
|
@ -104,7 +103,6 @@ int apache_php_module_hook(request_rec *r, php_handler *handler, zval **ret TSRM
|
|||
ZVAL_STRING(class, handler->name, 1);
|
||||
ALLOC_ZVAL(method);
|
||||
ZVAL_STRING(method, tmp +2, 1);
|
||||
fprintf(stderr, "calling coderef %s::%s\n", handler->name, tmp +2);
|
||||
*tmp = ':';
|
||||
call_user_function_ex(EG(function_table), &class, method, ret, 0, NULL, 0, NULL TSRMLS_CC);
|
||||
zval_dtor(&class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue