From: Nishi Date: Thu, 26 Sep 2024 21:28:41 +0000 (+0000) Subject: breaking change: Readme has been changed to ReadmeFile X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=72e5fa13ee131c9038db591cc0108d6e3d1b0e8c;p=tewi.git breaking change: Readme has been changed to ReadmeFile git-svn-id: file:///raid/svn-personal/tewi/trunk@176 8739d7e6-ffea-ec47-b151-bdff447c6205 --- diff --git a/README b/README index 3d69562..8ea3ed8 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -Tewi HTTPd version 1.08D +Tewi HTTPd version 2.00 Original by Nishi diff --git a/Server/config.c b/Server/config.c index e620225..1746e0f 100644 --- a/Server/config.c +++ b/Server/config.c @@ -409,7 +409,7 @@ 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], "Readme")) { + } else if(cm_strcaseequ(r[0], "ReadmeFile")) { for(i = 1; r[i] != NULL; i++) { current->readmes[current->readme_count++] = cm_strdup(r[i]); } diff --git a/Server/tw_version.h b/Server/tw_version.h index bc82bca..bf3fd15 100644 --- a/Server/tw_version.h +++ b/Server/tw_version.h @@ -7,7 +7,7 @@ extern "C" { #endif -#define TW_VERSION "1.09\0" +#define TW_VERSION "2.00\0" const char* tw_get_version(void); const char* tw_get_platform(void); diff --git a/Tool/genconf.c b/Tool/genconf.c index b8e35d1..9b2db57 100644 --- a/Tool/genconf.c +++ b/Tool/genconf.c @@ -39,7 +39,7 @@ int main(int argc, char** argv) { printf("Icon misc/parent /icons/parent.png\n"); printf("DirectoryIndex index.html\n"); printf("\n"); - printf("Readme README\n"); + printf("ReadmeFile README\n"); printf("\n"); printf("DocumentRoot %s/www\n", argv[1]); printf("BeginDirectory %s/www\n", argv[1]); diff --git a/example.conf b/example.conf index 489e2f1..8ede55d 100644 --- a/example.conf +++ b/example.conf @@ -25,7 +25,7 @@ Icon misc/parent /icons/parent.png DirectoryIndex index.html -Readme README +ReadmeFile README DocumentRoot /var/www