Differences From Artifact [f5806aa90c]:
- File src/cgi.c — part of check-in [aa17077eaf] at 2018-07-19 15:52:43 on branch trunk — Backoffice only runs for successful webpage that have the database open. Add "refresh" and "Show All" buttons on the /errorlog page. (user: drh size: 62206)
To Artifact [7bf245008a]:
- File src/cgi.c — part of check-in [a32a92d227] at 2018-07-19 15:58:36 on branch trunk — At the end of CGI processing, close the output pipe before starting backoffice processing, in order to let higher levels know that the CGI is finished. (user: drh size: 62278)
| ︙ | |||
342 343 344 345 346 347 348 349 350 351 352 353 354 355 | 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | + + |
fflush(g.httpOut);
CGIDEBUG(("DONE\n"));
/* After the webpage has been sent, do any useful background
** processing.
*/
if( g.db!=0 && iReplyStatus==200 ){
fclose(g.httpOut);
g.httpOut = fossil_fopen("/dev/null", "wb");
backoffice_run();
}
}
/*
** Do a redirect request to the URL given in the argument.
**
|
| ︙ |