commit
ebf214db48
@ -5,7 +5,7 @@
|
|||||||
*
|
*
|
||||||
* The PH7 CGI interpreter (ph7_cgi.c) is based on PH7 interpreter (ph7_interp.c).
|
* The PH7 CGI interpreter (ph7_cgi.c) is based on PH7 interpreter (ph7_interp.c).
|
||||||
*
|
*
|
||||||
* Copyright (C) 2015, 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
|
* Copyright (C) 2015-2016, 谢致邦 (XIE Zhibang) <Yeking@Red54.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -15,8 +15,8 @@
|
|||||||
|
|
||||||
static void CgiHeader()
|
static void CgiHeader()
|
||||||
{
|
{
|
||||||
puts("X-Powered-By: " PH7_SIG);
|
puts("X-Powered-By: " PH7_SIG "\r");
|
||||||
puts("Content-type: text/html; charset=UTF-8\n");
|
puts("Content-type: text/html; charset=UTF-8\r\n\r");
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* Display an error message and exit.
|
* Display an error message and exit.
|
||||||
|
Loading…
Reference in New Issue
Block a user