summaryrefslogtreecommitdiff
path: root/amiga/filetype.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r--amiga/filetype.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c
index eec0fdd35..bc742c579 100644
--- a/amiga/filetype.c
+++ b/amiga/filetype.c
@@ -79,6 +79,10 @@ const char *fetch_filetype(const char *unix_path)
{
sprintf(mimetype,"text/plain",dth->dth_BaseName);
}
+ else if(strcmp("simplehtml",dth->dth_BaseName)==0)
+ {
+ sprintf(mimetype,"text/html",dth->dth_BaseName);
+ }
else
{
sprintf(mimetype,"text/%s",dth->dth_BaseName);
@@ -106,6 +110,8 @@ const char *fetch_filetype(const char *unix_path)
if(!found) strcpy(mimetype,"text/html"); /* If all else fails */
+ //printf("%s: %s\n",unix_path,mimetype);
+
return mimetype;
}