diff --git a/src/web/mod_http_fileserver.erl b/src/web/mod_http_fileserver.erl index a0c14964f..ff101755f 100644 --- a/src/web/mod_http_fileserver.erl +++ b/src/web/mod_http_fileserver.erl @@ -118,7 +118,7 @@ log(File, Code, Request) -> [IP, Day, Month, Year, Hour, Minute, Second, Request#request.method, Path, Query, Code]). content_type(Filename) -> - case httpd_util:to_lower(filename:extension(Filename)) of + case string:to_lower(filename:extension(Filename)) of ".jpg" -> "image/jpeg"; ".jpeg" -> "image/jpeg"; ".gif" -> "image/gif";