mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
MFB
This commit is contained in:
+2
-2
@@ -331,8 +331,8 @@ int php_init_config(TSRMLS_D)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Add cwd (only with CLI) */
|
||||
if (strcmp(sapi_module.name, "cli") == 0) {
|
||||
/* Add cwd (not with CLI) */
|
||||
if (strcmp(sapi_module.name, "cli") != 0) {
|
||||
if (*php_ini_search_path) {
|
||||
strcat(php_ini_search_path, paths_separator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user