Skip to content

Commit 1fc65cb

Browse files
committed
- Fixed crash on non-Windows build
1 parent 2ab9513 commit 1fc65cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main/php_ini.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ int php_init_config(TSRMLS_D)
424424
}
425425
}
426426
}
427+
#else
428+
if (!env_location) {
429+
env_location = "";
430+
}
427431
#endif
428432
/*
429433
* Prepare search path

0 commit comments

Comments
 (0)