summaryrefslogtreecommitdiff
path: root/src/snuffleupagus.c
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-11-11 13:15:52 +0100
committerBen Fuhrmannek2021-11-11 13:15:52 +0100
commit713cb08b58d4e5dd5e7e80b1f82e27cbe52d4381 (patch)
treeb1bd945693215ca349180d44ae929f7f59427f09 /src/snuffleupagus.c
parent9111fdf5e6332923a5faf9f8a7e6b428eb91795a (diff)
inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()
Diffstat (limited to 'src/snuffleupagus.c')
-rw-r--r--src/snuffleupagus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snuffleupagus.c b/src/snuffleupagus.c
index 6fd6f25..c96a911 100644
--- a/src/snuffleupagus.c
+++ b/src/snuffleupagus.c
@@ -314,7 +314,7 @@ static PHP_INI_MH(OnUpdateConfiguration) {
314 hook_upload(); 314 hook_upload();
315 } 315 }
316 316
317 if (SPCFG(disable_xxe).enable == 0) { 317 if (SPCFG(xxe_protection).enable) {
318 hook_libxml_disable_entity_loader(); 318 hook_libxml_disable_entity_loader();
319 } 319 }
320 320