summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-09-19 20:33:12 +0000
committerDmitry Stogov <dmitry@php.net>2006-09-19 20:33:12 +0000
commit7d14dad02ea58db34594e91f759424c51071c5a8 (patch)
tree95a32d750a5c9b0e626bfbe4d02ebd5f4609a53b /main/SAPI.c
parent2332e4f9fc134b2ddec3779bcaf1ea237631b7c2 (diff)
downloadphp-git-7d14dad02ea58db34594e91f759424c51071c5a8.tar.gz
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).
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c1
1 files changed, 1 insertions, 0 deletions
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