Ignore:
Timestamp:
08/09/10 14:24:13 (10 years ago)
Author:
sjm84
Message:

Added css to the list of mime-types that server.exe knows about

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/w32server/cgiwrapper.cpp

    r21324 r22588  
    735735      mime = "application/postscript";
    736736  }  else if (len == 3) {
    737     if ((ext[0] == 'g' || ext[0] == 'G') &&
     737    if((ext[0] == 'c' || ext[0] == 'C') &&
     738    (ext[1] == 's' || ext[1] == 'S') &&
     739    (ext[2] == 's' || ext[2] == 'S')){
     740      mime = "text/css";
     741    } else if ((ext[0] == 'g' || ext[0] == 'G') &&
    738742    (ext[1] == 'i' || ext[1] == 'I') &&
    739743    (ext[2] == 'f' || ext[2] == 'F')) {
Note: See TracChangeset for help on using the changeset viewer.