diff options
| author | jvoisin | 2018-02-05 18:13:57 +0100 |
|---|---|---|
| committer | jvoisin | 2018-02-05 18:13:57 +0100 |
| commit | 9d153cc185b4e2327a4aabe645cf1fabd3b4f21b (patch) | |
| tree | bfaf6ff5fa41098864d6b51ad1fa91304d8c32a6 /src/sp_disable_xxe.c | |
| parent | 3ab41db5bb38ec534e96f89680e55becd758aa28 (diff) | |
Massive simplification of functions hooking
Diffstat (limited to 'src/sp_disable_xxe.c')
| -rw-r--r-- | src/sp_disable_xxe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_disable_xxe.c b/src/sp_disable_xxe.c index d11b3d0..df00dbd 100644 --- a/src/sp_disable_xxe.c +++ b/src/sp_disable_xxe.c | |||
| @@ -19,7 +19,7 @@ int hook_libxml_disable_entity_loader() { | |||
| 19 | call_user_function(CG(function_table), NULL, &func_name, &hmac, 1, params); | 19 | call_user_function(CG(function_table), NULL, &func_name, &hmac, 1, params); |
| 20 | 20 | ||
| 21 | HOOK_FUNCTION("libxml_disable_entity_loader", sp_internal_functions_hook, | 21 | HOOK_FUNCTION("libxml_disable_entity_loader", sp_internal_functions_hook, |
| 22 | PHP_FN(sp_libxml_disable_entity_loader), false); | 22 | PHP_FN(sp_libxml_disable_entity_loader)); |
| 23 | 23 | ||
| 24 | return SUCCESS; | 24 | return SUCCESS; |
| 25 | } | 25 | } |
