mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Implement #47074: phpinfo() reports "On" as 1 for the some extensions
What is modified as boolean, should also be displayed as boolean.
This commit is contained in:
parent
efde51e197
commit
864fb0ec23
10 changed files with 30 additions and 28 deletions
|
@ -477,9 +477,9 @@ PHP_MINFO_FUNCTION(apache)
|
|||
}
|
||||
|
||||
PHP_INI_BEGIN()
|
||||
STD_PHP_INI_ENTRY("xbithack", "0", PHP_INI_ALL, OnUpdateBool, xbithack, php_apache2_info_struct, php_apache2_info)
|
||||
STD_PHP_INI_ENTRY("engine", "1", PHP_INI_ALL, OnUpdateBool, engine, php_apache2_info_struct, php_apache2_info)
|
||||
STD_PHP_INI_ENTRY("last_modified", "0", PHP_INI_ALL, OnUpdateBool, last_modified, php_apache2_info_struct, php_apache2_info)
|
||||
STD_PHP_INI_BOOLEAN("xbithack", "0", PHP_INI_ALL, OnUpdateBool, xbithack, php_apache2_info_struct, php_apache2_info)
|
||||
STD_PHP_INI_BOOLEAN("engine", "1", PHP_INI_ALL, OnUpdateBool, engine, php_apache2_info_struct, php_apache2_info)
|
||||
STD_PHP_INI_BOOLEAN("last_modified", "0", PHP_INI_ALL, OnUpdateBool, last_modified, php_apache2_info_struct, php_apache2_info)
|
||||
PHP_INI_END()
|
||||
|
||||
static PHP_MINIT_FUNCTION(apache)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue