Fix applies to apache_hooks sapi as well. See bug #25753 for details.

This commit is contained in:
Rasmus Lerdorf 2004-01-28 17:59:07 +00:00
parent 44df89f00d
commit a61c2d667c

View File

@ -1175,6 +1175,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);