From 7d14dad02ea58db34594e91f759424c51071c5a8 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 19 Sep 2006 20:33:12 +0000 Subject: MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests). --- main/SAPI.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main/SAPI.c') diff --git a/main/SAPI.c b/main/SAPI.c index 5bd12b13e9..c23357c65d 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -76,6 +76,7 @@ SAPI_API sapi_module_struct sapi_module; SAPI_API void sapi_startup(sapi_module_struct *sf) { + sf->ini_entries = NULL; sapi_module = *sf; #ifdef ZTS -- cgit v1.2.1