1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00

MFH: Make isapi more compatible with apache sapis as far as the creation

$_COOKIE super-global and various $_SERVER values.
This commit is contained in:
Ilia Alshanetsky
2004-05-13 17:21:42 +00:00
parent 47692de95f
commit e5d7aef143
+3 -1
View File
@@ -354,7 +354,7 @@ static char *sapi_isapi_read_cookies(TSRMLS_D)
efree(tmp_variable_buf);
}
}
return NULL;
return "";
}
@@ -490,6 +490,8 @@ static void sapi_isapi_register_server_variables2(char **server_variables, LPEXT
} else {
efree(variable_buf);
}
} else { /* for compatibility with Apache SAPIs */
php_register_variable(*p, "", track_vars_array TSRMLS_CC);
}
p++;
}