diff options
author | Zeev Suraski <zeev@php.net> | 2001-01-02 22:49:31 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-01-02 22:49:31 +0000 |
commit | bd0ac7fe14b6f2eb82a2e13a38c3eca5d4fe2e4f (patch) | |
tree | ff521b5242f3800f3495220bfdf51f9cf35bbe20 /ext/standard/info.c | |
parent | 348f6c609c148c2c1f17669dad521fe04cd50a2a (diff) | |
download | php-git-bd0ac7fe14b6f2eb82a2e13a38c3eca5d4fe2e4f.tar.gz |
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
Diffstat (limited to 'ext/standard/info.c')
-rw-r--r-- | ext/standard/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/info.c b/ext/standard/info.c index c600cef189..5bcfaf6f1d 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -39,7 +39,7 @@ #define SECTION(name) PUTS("<H2 align=\"center\">" name "</H2>\n") -PHPAPI extern char *php_ini_path; +PHPAPI extern char *php_ini_opened_path; static int _display_module_info(zend_module_entry *module, void *arg) { @@ -197,7 +197,7 @@ PHPAPI void php_print_info(int flag) php_info_print_table_row(2, "Virtual Directory Support", "disabled" ); #endif - php_info_print_table_row(2, "Configuration File (php.ini) Path", php_ini_path?php_ini_path:CONFIGURATION_FILE_PATH ); + php_info_print_table_row(2, "Configuration File (php.ini) Path", php_ini_opened_path?php_ini_opened_path:CONFIGURATION_FILE_PATH); #if ZEND_DEBUG php_info_print_table_row(2, "ZEND_DEBUG", "enabled" ); |