mirror of
https://github.com/php/php-src.git
synced 2025-01-12 22:14:41 +08:00
MFB52:- Changed phpinfo() to make difference between set php.ini path and what was actually loaded.
This commit is contained in:
parent
55c8d82530
commit
0ac6bb9f16
@ -530,7 +530,8 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)
|
|||||||
php_info_print_table_row(2, "Virtual Directory Support", "disabled" );
|
php_info_print_table_row(2, "Virtual Directory Support", "disabled" );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
php_info_print_table_row(2, "Configuration File (php.ini) Path", php_ini_opened_path?php_ini_opened_path:PHP_CONFIG_FILE_PATH);
|
php_info_print_table_row(2, "Configuration File (php.ini) Path", PHP_CONFIG_FILE_PATH);
|
||||||
|
php_info_print_table_row(2, "Loaded Configuration File", php_ini_opened_path ? php_ini_opened_path : "(none)");
|
||||||
|
|
||||||
if (strlen(PHP_CONFIG_FILE_SCAN_DIR)) {
|
if (strlen(PHP_CONFIG_FILE_SCAN_DIR)) {
|
||||||
php_info_print_table_row(2, "Scan this dir for additional .ini files", PHP_CONFIG_FILE_SCAN_DIR);
|
php_info_print_table_row(2, "Scan this dir for additional .ini files", PHP_CONFIG_FILE_SCAN_DIR);
|
||||||
|
Loading…
Reference in New Issue
Block a user