OverwriteReport=0;
RemoveTempFiles=1;
strcpy(ReplaceIndex,"index.html");
- strcpy(Index,"yes");
+ Index=INDEX_YES;
strcpy(RecordsWithoutUser,"ip");
UseComma=0;
strcpy(MailUtility,"mailx");
Graphs=1;
strcpy(Ulimit,"20000");
strcpy(NtlmUserFormat,"domainname+username");
- strcpy(IndexTree,"file");
+ IndexTree=INDEX_TREE_FILE;
strcpy(RealtimeTypes,"GET,PUT,CONNECT");
strcpy(RealtimeUnauthRec,"show");
SquidguardIgnoreDate=0;
exit(0);
}
- if(strcmp(IndexTree,"file") == 0)
+ if(IndexTree == INDEX_TREE_FILE)
strcpy(ImageFile,"../images");
else
strcpy(ImageFile,"../../../images");
indexonly++;
}
if(strcmp(ExcludeUsers,"indexonly") == 0) indexonly++;
- if(strcmp(Index,"only") == 0) indexonly++;
+ if(Index == INDEX_ONLY) indexonly++;
if(MaxElapsed[0] != '\0') max_elapsed=atol(MaxElapsed);
if(strncmp(df,"e",1) == 0)
sprintf(tbuf, "%02d%s%04d", t->tm_mday, mes, t->tm_year+1900);
if(strncmp(df,"w",1) == 0) {
- strcpy(IndexTree,"file");
+ IndexTree=INDEX_TREE_FILE;
strftime(tbuf, sizeof(tbuf), "%Y.%U", t);
}