summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-05-15 14:56:28 +0000
committerZeev Suraski <zeev@php.net>2001-05-15 14:56:28 +0000
commit52006e0d05da720125b271d6058ae39f02246305 (patch)
tree0e4a949049cd377603689f00a185789afbcf5094
parent59969e476fe68ca97e23bbcd5bdc5d7e09d6bbef (diff)
downloadphp-git-52006e0d05da720125b271d6058ae39f02246305.tar.gz
MFH
-rw-r--r--sapi/apache/mod_php4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c
index e713b1409a..7c99ae3087 100644
--- a/sapi/apache/mod_php4.c
+++ b/sapi/apache/mod_php4.c
@@ -307,6 +307,7 @@ static int php_apache_sapi_activate(SLS_D)
*/
block_alarms();
register_cleanup(((request_rec *) SG(server_context))->pool, NULL, php_apache_request_shutdown, php_request_shutdown_for_exec);
+ AP(in_request)=1;
unblock_alarms();
/* Override the default headers_only value - sometimes "GET" requests should actually only
@@ -458,7 +459,6 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
zend_execute_scripts(ZEND_INCLUDE CLS_CC ELS_CC, 1, &fh);
return OK;
}
- AP(in_request)=1;
if (setjmp(EG(bailout))!=0) {
return OK;