diff options
| author | Ben Fuhrmannek | 2014-11-22 16:13:15 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-11-22 16:13:15 +0100 |
| commit | a69c64b2bc5756b14605ad39ffad69d09c0d578c (patch) | |
| tree | 6bc2008c9e73e09e53c3ac5688ef9a9d032d93bb /ex_imp.c | |
| parent | df62872ad72b13c24637f33d2452269a48c88f8d (diff) | |
TSRM related speed optimization - thanks to patch from NewEraCracker
Diffstat (limited to 'ex_imp.c')
| -rw-r--r-- | ex_imp.c | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -668,10 +668,8 @@ zend_function_entry suhosin_ex_imp_functions[] = { | |||
| 668 | }; | 668 | }; |
| 669 | /* }}} */ | 669 | /* }}} */ |
| 670 | 670 | ||
| 671 | void suhosin_hook_ex_imp() | 671 | void suhosin_hook_ex_imp(TSRMLS_D) |
| 672 | { | 672 | { |
| 673 | TSRMLS_FETCH(); | ||
| 674 | |||
| 675 | /* replace the extract and import_request_variables functions */ | 673 | /* replace the extract and import_request_variables functions */ |
| 676 | zend_hash_del(CG(function_table), "extract", sizeof("extract")); | 674 | zend_hash_del(CG(function_table), "extract", sizeof("extract")); |
| 677 | #ifdef SUHOSIN_HAVE_IRV | 675 | #ifdef SUHOSIN_HAVE_IRV |
| @@ -682,10 +680,6 @@ void suhosin_hook_ex_imp() | |||
| 682 | #else | 680 | #else |
| 683 | zend_register_functions(NULL, suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); | 681 | zend_register_functions(NULL, suhosin_ex_imp_functions, NULL, MODULE_PERSISTENT TSRMLS_CC); |
| 684 | #endif | 682 | #endif |
| 685 | |||
| 686 | |||
| 687 | |||
| 688 | |||
| 689 | } | 683 | } |
| 690 | 684 | ||
| 691 | 685 | ||
