Fossil SCM
Added a note to the cgi command's help about the processing order of directives, per forum request.
Commit
8d3176f117ce5fdbdd29bf5e14e88281107450a07a29d105e8656578109acdc5
Parent
e28c25e497a462b…
1 file changed
+5
+5
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -2257,10 +2257,15 @@ | ||
| 2257 | 2257 | ** mainmenu: FILE Override the mainmenu config setting with the |
| 2258 | 2258 | ** contents of the given file. |
| 2259 | 2259 | ** |
| 2260 | 2260 | ** Most CGI files contain only a "repository:" line. It is uncommon to |
| 2261 | 2261 | ** use any other option. |
| 2262 | +** | |
| 2263 | +** The lines are processed in the order they are read, which is most | |
| 2264 | +** significant for "errorlog:", which should be set before "repository:" | |
| 2265 | +** so that any warnings from the database when opening the repository | |
| 2266 | +** go to that log file. | |
| 2262 | 2267 | ** |
| 2263 | 2268 | ** See also: [[http]], [[server]], [[winsrv]] |
| 2264 | 2269 | */ |
| 2265 | 2270 | void cmd_cgi(void){ |
| 2266 | 2271 | const char *zFile; |
| 2267 | 2272 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2257,10 +2257,15 @@ | |
| 2257 | ** mainmenu: FILE Override the mainmenu config setting with the |
| 2258 | ** contents of the given file. |
| 2259 | ** |
| 2260 | ** Most CGI files contain only a "repository:" line. It is uncommon to |
| 2261 | ** use any other option. |
| 2262 | ** |
| 2263 | ** See also: [[http]], [[server]], [[winsrv]] |
| 2264 | */ |
| 2265 | void cmd_cgi(void){ |
| 2266 | const char *zFile; |
| 2267 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -2257,10 +2257,15 @@ | |
| 2257 | ** mainmenu: FILE Override the mainmenu config setting with the |
| 2258 | ** contents of the given file. |
| 2259 | ** |
| 2260 | ** Most CGI files contain only a "repository:" line. It is uncommon to |
| 2261 | ** use any other option. |
| 2262 | ** |
| 2263 | ** The lines are processed in the order they are read, which is most |
| 2264 | ** significant for "errorlog:", which should be set before "repository:" |
| 2265 | ** so that any warnings from the database when opening the repository |
| 2266 | ** go to that log file. |
| 2267 | ** |
| 2268 | ** See also: [[http]], [[server]], [[winsrv]] |
| 2269 | */ |
| 2270 | void cmd_cgi(void){ |
| 2271 | const char *zFile; |
| 2272 |