We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
template_map
1 parent d4cfffa commit 17aea74Copy full SHA for 17aea74
sapi/cli/php_cli_server.c
@@ -208,7 +208,7 @@ typedef struct php_cli_server_http_response_status_code_pair {
208
const char *str;
209
} php_cli_server_http_response_status_code_pair;
210
211
-static php_cli_server_http_response_status_code_pair template_map[] = {
+static const php_cli_server_http_response_status_code_pair template_map[] = {
212
{ 400, "<h1>%s</h1><p>Your browser sent a request that this server could not understand.</p>" },
213
{ 404, "<h1>%s</h1><p>The requested resource <code class=\"url\">%s</code> was not found on this server.</p>" },
214
{ 405, "<h1>%s</h1><p>Requested method not allowed.</p>" },
0 commit comments