diff options
Diffstat (limited to 'treat_data.c')
| -rw-r--r-- | treat_data.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/treat_data.c b/treat_data.c index a39d561..202c585 100644 --- a/treat_data.c +++ b/treat_data.c | |||
| @@ -194,7 +194,11 @@ SAPI_TREAT_DATA_FUNC(suhosin_treat_data) | |||
| 194 | 194 | ||
| 195 | void suhosin_hook_treat_data() | 195 | void suhosin_hook_treat_data() |
| 196 | { | 196 | { |
| 197 | #if PHP_VERSION_ID < 50400 | ||
| 197 | sapi_register_treat_data(suhosin_treat_data); | 198 | sapi_register_treat_data(suhosin_treat_data); |
| 199 | #else | ||
| 200 | sapi_register_treat_data(suhosin_treat_data TSRMLS_CC); | ||
| 201 | #endif | ||
| 198 | #ifdef ZEND_ENGINE_2 | 202 | #ifdef ZEND_ENGINE_2 |
| 199 | if (old_input_filter == NULL) { | 203 | if (old_input_filter == NULL) { |
| 200 | old_input_filter = sapi_module.input_filter; | 204 | old_input_filter = sapi_module.input_filter; |
