Subversion Repositories Tewi

Rev

Rev 176 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 176 Rev 178
Line 1... Line 1...
1
/* $Id: config.c 176 2024-09-26 21:28:41Z nishi $ */
1
/* $Id: config.c 178 2024-09-26 21:31:03Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "tw_config.h"
5
#include "tw_config.h"
6
#include "tw_module.h"
6
#include "tw_module.h"
Line 407... Line 407...
407
						}
407
						}
408
					} else if(cm_strcaseequ(r[0], "DirectoryIndex")) {
408
					} else if(cm_strcaseequ(r[0], "DirectoryIndex")) {
409
						for(i = 1; r[i] != NULL; i++) {
409
						for(i = 1; r[i] != NULL; i++) {
410
							current->indexes[current->index_count++] = cm_strdup(r[i]);
410
							current->indexes[current->index_count++] = cm_strdup(r[i]);
411
						}
411
						}
-
 
412
					} else if(cm_strcaseequ(r[0], "ReadmeFile") || cm_strcaseequ(r[0], "Readme")) {
412
					} else if(cm_strcaseequ(r[0], "ReadmeFile")) {
413
						if(cm_strcaseequ(r[0], "Readme")){
-
 
414
							cm_force_log("NOTE: Readme directive is deprecated.");
-
 
415
						}
413
						for(i = 1; r[i] != NULL; i++) {
416
						for(i = 1; r[i] != NULL; i++) {
414
							current->readmes[current->readme_count++] = cm_strdup(r[i]);
417
							current->readmes[current->readme_count++] = cm_strdup(r[i]);
415
						}
418
						}
416
					} else {
419
					} else {
417
						stop = 1;
420
						stop = 1;