696
697
698
699
700
701
702
703
704
705
706
707
708
709
|
}
blob_init(&cmd, 0, 0);
for(i=0; g.argvOrig[i]!=0; i++){
blob_append_escaped_arg(&cmd, g.argvOrig[i], 0);
}
@ <li><p>
@ The command that generated this page:
@ <blockquote>
@ <tt>%h(blob_str(&cmd))</tt>
@ </blockquote></li>
blob_zero(&cmd);
@ </ol>
|
>
>
>
>
>
>
|
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
|
}
blob_init(&cmd, 0, 0);
for(i=0; g.argvOrig[i]!=0; i++){
blob_append_escaped_arg(&cmd, g.argvOrig[i], 0);
}
@ <li><p>
if( g.zCgiFile ){
Blob fullname;
blob_init(&fullname, 0, 0);
file_canonical_name(g.zCgiFile, &fullname, 0);
@ The CGI control file for this page is "%h(blob_str(&fullname))".
}
@ The command that generated this page:
@ <blockquote>
@ <tt>%h(blob_str(&cmd))</tt>
@ </blockquote></li>
blob_zero(&cmd);
@ </ol>
|
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
|
*/
static void no_error_log_available(void){
@ <p>No error log is configured.
if( g.zCgiFile==0 ){
@ To create an error log, add the "--errorlog FILENAME"
@ command-line option to the command that launches the Fossil server.
}else{
@ To create an error log, edit the CGI control file "%h(g.zCgiFile)"
@ to add line like this:
@ <blockquote><pre>
@ errorlog: <i>FILENAME</i>
@ </pre></blockquote>
}
}
/*
** The maximum number of bytes of the error log to show by default.
*/
#define MXSHOWLOG 500000
|
>
>
>
|
|
>
|
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
|
*/
static void no_error_log_available(void){
@ <p>No error log is configured.
if( g.zCgiFile==0 ){
@ To create an error log, add the "--errorlog FILENAME"
@ command-line option to the command that launches the Fossil server.
}else{
Blob fullname;
blob_init(&fullname, 0, 0);
file_canonical_name(g.zCgiFile, &fullname, 0);
@ To create an error log, edit the CGI control file
@ named "%h(blob_str(&fullname))" to add a line like this:
@ <blockquote><pre>
@ errorlog: <i>FILENAME</i>
@ </pre></blockquote>
blob_reset(&fullname);
}
}
/*
** The maximum number of bytes of the error log to show by default.
*/
#define MXSHOWLOG 500000
|