mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Refacto php_module_startup() (#8303)
It only ever uses at most 1 additional modules
This commit is contained in:
committed by
GitHub
parent
09d313daac
commit
b5db594fd2
@@ -378,10 +378,7 @@ extern zend_module_entry php_apache_module;
|
||||
|
||||
static int php_apache2_startup(sapi_module_struct *sapi_module)
|
||||
{
|
||||
if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
|
||||
return FAILURE;
|
||||
}
|
||||
return SUCCESS;
|
||||
return php_module_startup(sapi_module, &php_apache_module);
|
||||
}
|
||||
|
||||
static sapi_module_struct apache2_sapi_module = {
|
||||
|
||||
Reference in New Issue
Block a user