Commit e251375c authored by Sergey Lyubka's avatar Sergey Lyubka

Using .lp extension for Lua server pages

parent 3770020b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment