diff options
author | Jérôme Loyet <fat@php.net> | 2010-11-11 17:24:27 +0000 |
---|---|---|
committer | Jérôme Loyet <fat@php.net> | 2010-11-11 17:24:27 +0000 |
commit | e1b87cce1f9ca39dc9191f5335da2d49db0db083 (patch) | |
tree | cd8cdda20f7f7597685384acc7831b4100804953 /main/php_ini.c | |
parent | b896c87bb52282243251bde25b2523a9e4a8bc34 (diff) | |
download | php-git-e1b87cce1f9ca39dc9191f5335da2d49db0db083.tar.gz |
- Fixed #52045 (FPM tries to open php.ini from the current dir)
- Add php_ini_ignore_cwd to _sapi_module_struct
Diffstat (limited to 'main/php_ini.c')
-rw-r--r-- | main/php_ini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index cbbf6dc41d..841008f724 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -461,7 +461,7 @@ int php_init_config(TSRMLS_D) #endif /* Add cwd (not with CLI) */ - if (strcmp(sapi_module.name, "cli") != 0) { + if (!sapi_module.php_ini_ignore_cwd) { if (*php_ini_search_path) { strlcat(php_ini_search_path, paths_separator, search_path_size); } |