if(LastLog > 0) mklastlog(outdir);
if(Index == INDEX_NO) {
- sprintf(wdir,"%sindex.html",outdir);
+ sprintf(wdir,"%s"INDEX_HTML_FILE,outdir);
if(access(wdir, R_OK) == 0) {
if (unlink(wdir)) {
debuga(_("Cannot delete \"%s\": %s\n"),wdir,strerror(errno));
int i, y, m, d;
int order;
- sprintf(yearindex,"%sindex.html",outdir);
+ sprintf(yearindex,"%s"INDEX_HTML_FILE,outdir);
nyears=0;
if ((dirp = opendir(outdir)) == NULL) {
char date[60];
} **sortlist, *item, **tempsort;
- sprintf(wdir,"%sindex.html",outdir);
+ sprintf(wdir,"%s"INDEX_HTML_FILE,outdir);
order=(strcmp(IndexSortOrder,"A") == 0) ? 1 : -1;