htdocs/archive: Save every version

This commit is contained in:
Daniel Marjamäki 2013-07-13 17:32:48 +02:00
parent 2d73b3ef0d
commit dcb38ff637
1 changed files with 6 additions and 0 deletions

View File

@ -62,6 +62,12 @@ int main()
fclose(f);
generatepage("saved.");
f = fopen("history.txt", "at");
if (f) {
fprintf(f,"%s\n",str);
fclose(f);
}
return EXIT_SUCCESS;
}