Subversion Repositories Tewi

Rev

Rev 402 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 402 Rev 416
Line 1... Line 1...
1
/* $Id: config.c 402 2024-11-03 10:39:59Z nishi $ */
1
/* $Id: config.c 416 2024-11-19 07:54:58Z nishi $ */
2
 
2
 
3
#define SOURCE
3
#define SOURCE
4
 
4
 
5
#include "../config.h"
5
#include "../config.h"
6
 
6
 
Line 390... Line 390...
390
					} else if(cm_strcaseequ(r[0], "ServerRoot")) {
390
					} else if(cm_strcaseequ(r[0], "ServerRoot")) {
391
						if(r[1] == NULL) {
391
						if(r[1] == NULL) {
392
							cm_log("Config", "Missing path at line %d", ln);
392
							cm_log("Config", "Missing path at line %d", ln);
393
							stop = 1;
393
							stop = 1;
394
						} else {
394
						} else {
-
 
395
#ifndef WINCE
395
							chdir(r[1]);
396
							chdir(r[1]);
-
 
397
#endif
396
							free(config.server_root);
398
							free(config.server_root);
397
							config.server_root = cm_strdup(r[1]);
399
							config.server_root = cm_strdup(r[1]);
398
						}
400
						}
399
					} else if(cm_strcaseequ(r[0], "ServerAdmin")) {
401
					} else if(cm_strcaseequ(r[0], "ServerAdmin")) {
400
						if(r[1] == NULL) {
402
						if(r[1] == NULL) {