mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
Another attempt at fixing 8036
This commit is contained in:
@@ -34,9 +34,11 @@ extern zend_module_entry sablot_module_entry;
|
||||
|
||||
/* Module functions */
|
||||
PHP_MINIT_FUNCTION(sablot);
|
||||
PHP_MSHUTDOWN_FUNCTION(sablot);
|
||||
PHP_MINFO_FUNCTION(sablot);
|
||||
|
||||
/* Request functions */
|
||||
PHP_RSHUTDOWN_FUNCTION(sablot);
|
||||
|
||||
/* Output transformation functions */
|
||||
PHP_FUNCTION(xslt_output_begintransform);
|
||||
PHP_FUNCTION(xslt_output_endtransform);
|
||||
|
||||
+5
-5
@@ -160,9 +160,9 @@ zend_module_entry sablot_module_entry = {
|
||||
"sablot",
|
||||
sablot_functions,
|
||||
PHP_MINIT(sablot),
|
||||
PHP_MSHUTDOWN(sablot),
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
PHP_RSHUTDOWN(sablot),
|
||||
PHP_MINFO(sablot),
|
||||
STANDARD_MODULE_PROPERTIES
|
||||
};
|
||||
@@ -180,15 +180,15 @@ PHP_MINIT_FUNCTION(sablot)
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
PHP_MSHUTDOWN_FUNCTION(sablot)
|
||||
PHP_RSHUTDOWN_FUNCTION(sablot)
|
||||
{
|
||||
SABLOTLS_FETCH();
|
||||
|
||||
|
||||
if (SABLOTG(processor)) {
|
||||
SablotUnregHandler(SABLOTG(processor), HLR_MESSAGE, NULL, NULL);
|
||||
SablotDestroyProcessor(SABLOTG(processor));
|
||||
}
|
||||
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user