From 34c712bae0db49b6ff2ba5e2e90889a1ccac31cd Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 3 Feb 2003 12:25:47 +0000 Subject: [PATCH] MFH: Fixed bug: #22011 (-n must ignore all ini files) --- main/php_ini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/php_ini.c b/main/php_ini.c index 747ef5f05f..8b1b7d1c1b 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -400,7 +400,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; -- 2.40.0