Changeset 257 in Main for trunk/Server/tw_config.h


Ignore:
Timestamp:
Oct 4, 2024, 2:34:27 PM (6 weeks ago)
Author:
Nishi
Message:

[release 2.04] can read mime.types from apache

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_config.h

    r240 r257  
    4242#define MAX_MODULES 1024
    4343#define MAX_DIRS 1024
    44 #define MAX_MIME 1024
     44#define MAX_MIME 4096
    4545#define MAX_ICON 1024
    4646#define MAX_INDEX 1024
     
    8585        struct tw_dir_entry dirs[MAX_DIRS];
    8686        int dir_count;
    87         struct tw_mime_entry mimes[MAX_DIRS];
     87        struct tw_mime_entry mimes[MAX_MIME];
    8888        int mime_count;
    89         struct tw_icon_entry icons[MAX_DIRS];
     89        struct tw_icon_entry icons[MAX_ICON];
    9090        int icon_count;
    9191        char* indexes[MAX_INDEX];
Note: See TracChangeset for help on using the changeset viewer.