From eeac7dbe12619b550a27873fc3848364356cb950 Mon Sep 17 00:00:00 2001 From: Christopher Jones Date: Tue, 8 May 2012 14:35:11 -0700 Subject: [PATCH] Bug #61977 (Add .htm and .svg to CLI web server) Added support for .htm and .svg static files to CLI webserver --- sapi/cli/php_cli_server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 79ccea37d7a69..efc95399c9e16 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -260,8 +260,10 @@ static php_cli_server_ext_mime_type_pair mime_type_map[] = { { "jpg", "image/jpeg" }, { "jpeg", "image/jpeg" }, { "css", "text/css" }, + { "htm", "text/html" }, { "html", "text/html" }, { "txt", "text/plain" }, + { "svg", "image/svg+xml" }, { "js", "text/javascript" }, { NULL, NULL } };