1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00
This commit is contained in:
Edin Kadribasic
2006-09-05 11:55:08 +00:00
parent 6bf4579f82
commit b279fe502a
+2 -2
View File
@@ -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);
}