Browse Source

Fixed bug: #22011 (-n must ignore all ini files)

PHP-5
foobar 24 years ago
parent
commit
173b9493e2
  1. 2
      main/php_ini.c

2
main/php_ini.c

@ -428,7 +428,7 @@ int php_init_config()
/* If the config_file_scan_dir is set at compile-time, go and scan this directory and
* parse any .ini files found in this directory. */
if (strlen(PHP_CONFIG_FILE_SCAN_DIR)) {
if (!sapi_module.php_ini_ignore && strlen(PHP_CONFIG_FILE_SCAN_DIR)) {
struct dirent **namelist;
int ndir, i;

Loading…
Cancel
Save