summaryrefslogtreecommitdiff
path: root/sapi/apache
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2004-01-28 17:49:49 +0000
committerRasmus Lerdorf <rasmus@php.net>2004-01-28 17:49:49 +0000
commit44df89f00d6ea10d1dd86f2e522702c131fc4d07 (patch)
treea536b27bb9025e3e580ffc83d542aab765ab0dea /sapi/apache
parent6cf3c8586e5e966feeca0fad259bf5c23b6b9a3c (diff)
downloadphp-git-44df89f00d6ea10d1dd86f2e522702c131fc4d07.tar.gz
MFB - see bug #25753 for details
Diffstat (limited to 'sapi/apache')
-rw-r--r--sapi/apache/mod_php5.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c
index 481178195f..408ad2ed2e 100644
--- a/sapi/apache/mod_php5.c
+++ b/sapi/apache/mod_php5.c
@@ -837,6 +837,9 @@ static int php_xbithack_handler(request_rec * r)
}
if(!AP(xbithack)) {
r->allowed |= (1 << METHODS) - 1;
+ zend_try {
+ zend_ini_deactivate(TSRMLS_C);
+ } zend_end_try();
return DECLINED;
}
return send_parsed_php(r);