summaryrefslogtreecommitdiff
path: root/post_handler.c
diff options
context:
space:
mode:
authorStefan Esser2014-02-11 23:48:17 +0100
committerStefan Esser2014-02-11 23:48:17 +0100
commit3b24f87e1e0673a2a9c6bfcfa09d91b19bcaaf3a (patch)
tree18ce7797e2b82779749e26b49294db1e65e78f27 /post_handler.c
parent2a9280e998de15a8983ed0bb4e8811398aadc78c (diff)
Do not forget to unhook.
Diffstat (limited to '')
-rw-r--r--post_handler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/post_handler.c b/post_handler.c
index fb1bb29..e0fb672 100644
--- a/post_handler.c
+++ b/post_handler.c
@@ -174,6 +174,10 @@ void suhosin_unhook_post_handlers(TSRMLS_D)
174{ 174{
175 zend_ini_entry *ini_entry; 175 zend_ini_entry *ini_entry;
176 176
177#if PHP_VERSION_ID >= 50400
178 /* unhook the php_rfc1867_callback */
179 php_rfc1867_callback = old_rfc1867_callback;
180#endif
177 /* Restore to an empty destructor */ 181 /* Restore to an empty destructor */
178 SG(known_post_content_types).pDestructor = NULL; 182 SG(known_post_content_types).pDestructor = NULL;
179 183