Using .lp extension for Lua server pages

This commit is contained in:
Sergey Lyubka 2012-10-23 20:21:24 +01:00
parent 3770020b74
commit e251375c0c
2 changed files with 1 additions and 1 deletions

View File

@ -4100,7 +4100,7 @@ static void handle_request(struct mg_connection *conn) {
"Directory listing denied");
}
#ifdef USE_LUA
} else if (match_prefix("**.lsp$", 7, path) > 0) {
} else if (match_prefix("**.lp$", 6, path) > 0) {
handle_lsp_request(conn, path, &file);
#endif
#if !defined(NO_CGI)