cvs: php-src /sapi/isapi php5isapi.c

From: Date: Thu, 13 May 2004 17:21:40 +0000
Subject: cvs: php-src /sapi/isapi php5isapi.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27337@lists.php.net to get a copy of this message
iliaa Thu May 13 13:21:40 2004 EDT Modified files: /php-src/sapi/isapi php5isapi.c Log: Make isapi more compatible with apache sapis as far as the creation $_COOKIE super-global and various $_SERVER values. http://cvs.php.net/diff.php/php-src/sapi/isapi/php5isapi.c?r1=1.2&r2=1.3&ty=u Index: php-src/sapi/isapi/php5isapi.c diff -u php-src/sapi/isapi/php5isapi.c:1.2 php-src/sapi/isapi/php5isapi.c:1.3 --- php-src/sapi/isapi/php5isapi.c:1.2 Mon Feb 23 14:12:22 2004 +++ php-src/sapi/isapi/php5isapi.c Thu May 13 13:21:39 2004 @@ -354,7 +354,7 @@ efree(tmp_variable_buf); } } - return NULL; + return ""; } @@ -567,6 +567,8 @@ } else { efree(variable_buf); } + } else { /* for compatibility with Apache SAPIs */ + php_register_variable(*p, "", track_vars_array TSRMLS_CC); } p++; }

« previous php.cvs (#27337) next »