Skip to content

Commit

Permalink
Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Oct 5, 2002
1 parent 077fe52 commit ae36c08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/standard/info.c
Expand Up @@ -380,12 +380,14 @@ PHPAPI void php_print_info(int flag TSRMLS_DC)

php_info_print_table_row(2, "Configuration File (php.ini) Path", php_ini_opened_path?php_ini_opened_path:PHP_CONFIG_FILE_PATH);

#ifdef 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);
if(php_ini_scanned_files) {
php_info_print_table_row(2, "additional .ini files parsed", php_ini_scanned_files);
}
}
#endif

snprintf(temp_api, sizeof(temp_api), "%d", PHP_API_VERSION);
php_info_print_table_row(2, "PHP API", temp_api);
Expand Down

0 comments on commit ae36c08

Please sign in to comment.