]> Git repositories of Nishi - tewi.git/commitdiff
2.01
authorNishi <nishi@nishi.boats>
Thu, 26 Sep 2024 21:31:03 +0000 (21:31 +0000)
committerNishi <nishi@nishi.boats>
Thu, 26 Sep 2024 21:31:03 +0000 (21:31 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@178 8739d7e6-ffea-ec47-b151-bdff447c6205

README
Server/config.c
Server/tw_version.h

diff --git a/README b/README
index 8ea3ed8f9b0cf44e030d61438b2c24f53c6456fe..703769cf44d15968c6e71d257286a325c3ff66c9 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 
-Tewi HTTPd version 2.00
+Tewi HTTPd version 2.01
 
 Original by Nishi <nishi@nishi.boats>
 
index 1746e0f0109d3e59e50e483a6943a0b69207ff8d..19098aca903326fd12ffbe3cb204ad5685011974 100644 (file)
@@ -409,7 +409,10 @@ int tw_config_read(const char* path) {
                                                for(i = 1; r[i] != NULL; i++) {
                                                        current->indexes[current->index_count++] = cm_strdup(r[i]);
                                                }
-                                       } else if(cm_strcaseequ(r[0], "ReadmeFile")) {
+                                       } else if(cm_strcaseequ(r[0], "ReadmeFile") || cm_strcaseequ(r[0], "Readme")) {
+                                               if(cm_strcaseequ(r[0], "Readme")){
+                                                       cm_force_log("NOTE: Readme directive is deprecated.");
+                                               }
                                                for(i = 1; r[i] != NULL; i++) {
                                                        current->readmes[current->readme_count++] = cm_strdup(r[i]);
                                                }
index bf3fd150d11b86c592a6a7f7270d7b2bc523866c..00703c7ae63022f2b918bdcc5a0a076d958c32dc 100644 (file)
@@ -7,7 +7,7 @@
 extern "C" {
 #endif
 
-#define TW_VERSION "2.00\0"
+#define TW_VERSION "2.01\0"
 
 const char* tw_get_version(void);
 const char* tw_get_platform(void);