]> granicus.if.org Git - php/commitdiff
- Fixed crash on non-Windows build
authorFelipe Pena <felipe@php.net>
Mon, 30 Aug 2010 21:34:54 +0000 (21:34 +0000)
committerFelipe Pena <felipe@php.net>
Mon, 30 Aug 2010 21:34:54 +0000 (21:34 +0000)
main/php_ini.c

index bc0bbf04ef517b50147676c60e3dfb09fad8b405..de22d32f8045eb97592b63e45f4b74255f68b311 100644 (file)
@@ -426,6 +426,10 @@ int php_init_config(TSRMLS_D)
                                }
                        }
                }
+#else
+               if (!env_location) {
+                       env_location = "";
+               }
 #endif
                /*
                 * Prepare search path