mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
15 lines
342 B
C
15 lines
342 B
C
#include "php.h"
|
|
#include "SAPI.h"
|
|
#include "rfc1867.h"
|
|
|
|
static sapi_post_content_type_reader php_post_content_types[] = {
|
|
{ MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1, rfc1867_post_reader },
|
|
{ NULL, 0, NULL }
|
|
}
|
|
|
|
int php_startup_SAPI_content_types()
|
|
{
|
|
sapi_register_post_readers(php_post_content_types);
|
|
return SUCCESS;
|
|
}
|