diff options
Diffstat (limited to 'ex_imp.c')
| -rw-r--r-- | ex_imp.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -263,11 +263,7 @@ void suhosin_hook_ex_imp(TSRMLS_D) | |||
| 263 | { | 263 | { |
| 264 | /* replace the extract and import_request_variables functions */ | 264 | /* replace the extract and import_request_variables functions */ |
| 265 | zend_hash_del(CG(function_table), "extract", sizeof("extract")); | 265 | zend_hash_del(CG(function_table), "extract", sizeof("extract")); |
| 266 | #ifndef ZEND_ENGINE_2 | ||
| 267 | zend_register_functions(suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); | ||
| 268 | #else | ||
| 269 | zend_register_functions(NULL, suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); | 266 | zend_register_functions(NULL, suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); |
| 270 | #endif | ||
| 271 | } | 267 | } |
| 272 | 268 | ||
| 273 | 269 | ||
