htdocs/archive: Save every version
This commit is contained in:
parent
2d73b3ef0d
commit
dcb38ff637
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue