Browse Source

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

$_COOKIE super-global and various $_SERVER values.
PHP-5.0
Ilia Alshanetsky 22 years ago
parent
commit
50260570b4
  1. 4
      sapi/isapi/php5isapi.c

4
sapi/isapi/php5isapi.c

@ -354,7 +354,7 @@ static char *sapi_isapi_read_cookies(TSRMLS_D)
efree(tmp_variable_buf);
}
}
return NULL;
return "";
}
@ -567,6 +567,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++;
}

Loading…
Cancel
Save