mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Refacto php_module_startup() (#8303)
It only ever uses at most 1 additional modules
This commit is contained in:
parent
09d313daac
commit
b5db594fd2
11 changed files with 18 additions and 51 deletions
|
@ -498,7 +498,7 @@ const zend_function_entry server_additional_functions[] = {
|
|||
|
||||
static int sapi_cli_server_startup(sapi_module_struct *sapi_module) /* {{{ */
|
||||
{
|
||||
return php_module_startup(sapi_module, &cli_server_module_entry, 1);
|
||||
return php_module_startup(sapi_module, &cli_server_module_entry);
|
||||
} /* }}} */
|
||||
|
||||
static size_t sapi_cli_server_ub_write(const char *str, size_t str_length) /* {{{ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue