Fossil

Check-in [8594e7a68a]
Login

Check-in [8594e7a68a]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Always consume the --nocgi command-line option even if it is not used.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8594e7a68a01ed8ada7db605bc6cdddfc62c8c740f5baffe16edb51b7dc80272
User & Date: drh 2020-10-08 14:49:18.530
Context
2020-10-09
21:09
Replace the two GIF images in the www/concepts.wiki document with Pikchrs. ... (check-in: bd9bf24837 user: drh tags: trunk)
2020-10-08
14:49
Always consume the --nocgi command-line option even if it is not used. ... (check-in: 8594e7a68a user: drh tags: trunk)
07:04
Small clarity fix in the new CAP theorem doc ... (check-in: 8a9facbb3e user: wyoung tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
    sqlite3_vfs *pVfs = sqlite3_vfs_find(g.zVfsName);
    if( pVfs ){
      sqlite3_vfs_register(pVfs, 1);
    }else{
      fossil_fatal("no such VFS: \"%s\"", g.zVfsName);
    }
  }
  if( fossil_getenv("GATEWAY_INTERFACE")!=0 && !find_option("nocgi", 0, 0)){
    zCmdName = "cgi";
    g.isHTTP = 1;
  }else if( g.argc<2 && !fossilExeHasAppendedRepo() ){
    fossil_print(
       "Usage: %s COMMAND ...\n"
       "   or: %s help           -- for a list of common commands\n"
       "   or: %s help COMMAND   -- for help with the named command\n",







|







714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
    sqlite3_vfs *pVfs = sqlite3_vfs_find(g.zVfsName);
    if( pVfs ){
      sqlite3_vfs_register(pVfs, 1);
    }else{
      fossil_fatal("no such VFS: \"%s\"", g.zVfsName);
    }
  }
  if( !find_option("nocgi", 0, 0) && fossil_getenv("GATEWAY_INTERFACE")!=0){
    zCmdName = "cgi";
    g.isHTTP = 1;
  }else if( g.argc<2 && !fossilExeHasAppendedRepo() ){
    fossil_print(
       "Usage: %s COMMAND ...\n"
       "   or: %s help           -- for a list of common commands\n"
       "   or: %s help COMMAND   -- for help with the named command\n",