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++; }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php